Last week it seemed certain that Twitter CEO Jack Dorsey would take steps to slim a social media company that had become, in the words of several critics, bloated.
That plan was confirmed this morning in a Form 8-K filing with the U.S. Securities and Exchange Commission.
“On October 12, 2015, the Board of Directors of the Company approved a restructuring and reduction in force plan of up to 336 employees, constituting approximately 8% of the Company’s global workforce,” the document states. “The restructuring is part of an overall plan to organize around the Company’s top product priorities and drive efficiencies throughout the Company.” The cuts will be largely in the engineering and product departments.
Twitter plans to “reinvest savings in its most important priorities to drive growth.” It will incur between $10 million and $20 million in severance and related costs. The price of Twitter shares took a hit yesterday, down almost 7% to $28.74, as investors interpreted the cuts as a response to revenue pressure.
In a memo announcing the cuts, Dorsey wrote: “This isn’t easy. But it is right.”
Twitter (TWTR) also announced that it expects its third quarter 2015 revenue to be “at or above the high end of the previously forecasted ranges of $545 million to $560 million.” It will report those results on October 27.
Subscribe to Data Sheet, Fortune’s daily newsletter on the business of technology.