Thanks, esmi. Worked great. I can now recover from the repeated banging my head against the wall. I should have turned to the forums earlier.
I ended up using
return get_option('siteurl') . '/remainder_of_path/company_A_logo.png';
in case I ever change the site URLs (which we recently did, and hopefully won’t do again soon).