Thats not part of the hub site settings or SharePoint. You can set the logo in the office 365 bar right at the top of the page in the organisation profile custom branding settings in office 365 admin portal. Be aware though that the logo is moving and showing in place of the offfice 365 logo/wording in the left instead of stating in the middle.
Updated May 20, 2018
Version 2.0