Cerebras posted strong first earnings as a public company, with revenue nearly doubling to $193.4 million and losses narrowing, but shares fell after weaker gross margin guidance raised profitability concerns.