Net Income (Loss) Per Share - Schedule of Potentially Dilutive Securities Not Included in Diluted Per Share Calculations (Details) - shares |
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] | ||||
| Antidilutive shares excluded from calculation of diluted net loss per share (in shares) | 10,373,335 | 16,298,366 | 17,395,073 | 16,298,366 |
| Options issued and outstanding | ||||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
| Antidilutive shares excluded from calculation of diluted net loss per share (in shares) | 9,941,060 | 10,017,308 | 10,336,678 | 10,017,308 |
| Restricted shares subject to future vesting | ||||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
| Antidilutive shares excluded from calculation of diluted net loss per share (in shares) | 432,275 | 6,281,058 | 7,058,395 | 6,281,058 |