Net Loss Per Share - Summary of Potential Common Shares Excluded from Computation of Diluted Net 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 | 20,550,224 | 18,027,886 |
| Options to Purchase Common Stock | ||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||
| Total | 20,349,469 | 17,917,902 |
| Potential shares issuable under the 2021 employee stock purchase plan | ||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||
| Total | 200,755 | 109,984 |