Net Income (Loss) Per Share - Schedule of Antidilutive Securities (Details) - shares shares in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2026 |
Mar. 31, 2025 |
|
| Equity awards | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Weighted-average potentially dilutive shares excluded from calculation of diluted loss per share because effect would be antidilutive (in shares) | 3,009 | 2,307 |
| Redeemable convertible preferred stock | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Weighted-average potentially dilutive shares excluded from calculation of diluted loss per share because effect would be antidilutive (in shares) | 5,219 | 4,113 |
| Class B common stock | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Weighted-average potentially dilutive shares excluded from calculation of diluted loss per share because effect would be antidilutive (in shares) | 12,616 | 12,623 |