If you double the size of the team one year then lay off 20+% the following year it means you have a management problem, IMHO, which is also a red flag.
But you're twilio, you acquired 2 other companies (sendgrid, segment) with the Fed 0%< and 20% of employees are the hr, finance, and canned feature growth.