Stock-Based Compensation - Summary of stock-based compensation is classified in the consolidated statements of operations and comprehensive loss (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation | $ 11,608 | $ 15,641 | $ 23,763 | $ 31,532 |
| Research and Development | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation | 5,836 | 7,714 | 12,025 | 15,572 |
| General and Administrative | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation | $ 5,772 | $ 7,927 | $ 11,738 | $ 15,960 |