Net Income (Loss) Per Share - Summary of Potentially Dilutive Securities Excluded from Diluted Net Income (Loss) Per Share (Details) - shares |
6 Months Ended | |
|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total common stock equivalents (in shares) | 1,294,219 | 7,044,947 |
| Shares of common stock subject to outstanding options | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total common stock equivalents (in shares) | 1,152,560 | 2,755,712 |
| Restricted stock units and performance restricted stock units | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total common stock equivalents (in shares) | 141,659 | 4,289,235 |