Basic and Diluted Net Income 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 | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Potential common shares excluded from diluted net income per share (in shares) | 4,187 | 7,074 | 4,551 | 7,102 |
| 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 income per share (in shares) | 4,187 | 7,074 | 4,551 | 7,102 |
| 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 income per share (in shares) | 0 | 0 | 0 | 0 |