Basic and Diluted Net Income (Loss) Per Share - Schedule of Potential Shares of Common Stock Excluded from Diluted Weighted-Average Common Shares Outstanding (Details) - shares shares in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2026 |
Mar. 31, 2025 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Potential common shares excluded from diluted net loss per share (in shares) | 4,915 | 8,828 |
| Shares of common stock issuable under equity incentive plans outstanding | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Potential common shares excluded from diluted net loss per share (in shares) | 4,915 | 8,085 |
| Shares of common stock related to convertible preferred stock | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Potential common shares excluded from diluted net loss per share (in shares) | 0 | 743 |