v3.26.1
Net Income (Loss) Per Share - Schedule of Reconciliation of Numerator and Denominator for Calculating Basic and Diluted Net Income (Loss) Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Numerator:        
Net income (loss) $ 43,690 $ (575,651) $ 78,818 $ (558,512)
Adjustment to reflect deemed contribution from series D and series E redeemable convertible preferred stock extinguishment 0 0 0 104,174
Income allocated to participating securities (588) 0 (1,784) 0
Net income (loss) attributable to common stockholders $ 43,102 $ (575,651) $ 77,034 $ (454,338)
Weighted average shares used in computing net income (loss) per share attributable to common stockholders:        
Basic (in shares) 78,969 43,931 78,795 30,190
Diluted (in shares) 83,424 43,931 82,344 30,190
Net income (loss) attributable to common stockholders per share:        
Basic (in usd per share) $ 0.55 $ (13.10) $ 0.98 $ (15.05)
Diluted (in usd per share) $ 0.52 $ (13.10) $ 0.94 $ (15.05)