Shopify cuts 20% of staff, sells logistics arm of business