The company is reducing its workforce as it exits 22 countries, reduces management layers, and invests in its infrastructure to scale its platform.