The company said the layoffs will take effect as early as Jan. 14.