Stock-Based Compensation - Summary of Stock-Based Compensation Expense (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 expense | $ 16,658 | $ 11,868 | $ 31,194 | $ 22,105 |
| Location, Statement of Income, Balance [Axis]: us-gaap:GeneralAndAdministrativeExpense | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation expense | 7,200 | 4,737 | 13,382 | 8,953 |
| Location, Statement of Income, Balance [Axis]: us-gaap:ResearchAndDevelopmentExpense | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation expense | $ 9,458 | $ 7,131 | $ 17,812 | $ 13,152 |