Anecdotally, I know a senior dev who moved back to Canada from SF to work for Shopify.
They have a San Francisco office, and they employ people in the US.
They can also pay US level wages in Canada.