Between 2013 and 2016, social media company Twitter (NYSE: TWTR) reported $2.2 billion of cumulative net losses. That’s nearly equivalent to Twitter’s annual revenue. Revenue growth ground to a halt this year, so the only path toward profitability was to dramatically slash costs.