The company has told most employees to work in the office five days a week, starting in January.