The company had to reduce its workforce by 22%.