Net Income (Loss) Per Share - Summary of Calculation of Diluted Net Income (Loss) Per Share (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] | ||||||||||||
| Total anti-dilutive securities | 20,329,911 | 21,023,960 | 20,315,580 | 24,584,014 | ||||||||
| Unvested Restricted Stock Units [Member] | ||||||||||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||||||||||
| Total anti-dilutive securities | [1] | 5,184,633 | 0 | 5,184,633 | 3,560,054 | |||||||
| Convertible Notes [Member] | ||||||||||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||||||||||
| Total anti-dilutive securities | [2] | 0 | 5,924,582 | 0 | 5,924,582 | |||||||
| Investor Warrants [Member] | ||||||||||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||||||||||
| Total anti-dilutive securities | [3] | 15,099,378 | 15,099,378 | 15,099,378 | 15,099,378 | |||||||
| Employee Stock Purchase Plan [Member] | ||||||||||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||||||||||
| Total anti-dilutive securities | [4] | 45,900 | 0 | 31,569 | 0 | |||||||
| ||||||||||||