Net Income (Loss) Per Share - Summary of Securities That Could Potentially Dilute Basic Net Income (Loss) Per Share in Future Were Not Included in Computation of Diluted Income (Loss) Per Share (Details) - shares |
3 Months Ended | |
|---|---|---|
Mar. 31, 2026 |
Mar. 31, 2025 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive shares | 41,530,304 | 11,276,516 |
| Outstanding Stock Options | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive shares | 19,671,897 | 11,092,400 |
| Outstanding Restricted Stock Units | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive shares | 0 | 22,500 |
| Common Stock Under Employee Stock Purchase Plan | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive shares | 549,789 | 0 |
| Common Stock Warrants | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive shares | 21,308,618 | 161,616 |