Stock-based Compensation - Summary of Total Stock-Based Compensation Expense Related to Stock Options, RSUs and Employee Stock Purchase Plan (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] | ||||
| Stock-based compensation expense | $ 67,000 | $ 28,830 | $ 154,299 | $ 53,914 |
| Research and Development | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Stock-based compensation expense | 39,311 | 19,126 | 83,949 | 35,505 |
| General and Administrative | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Stock-based compensation expense | $ 27,689 | $ 9,704 | $ 70,350 | $ 18,409 |