Stock-Based Compensation - Summary of Stock-based Compensation Expense Included in Statements of Operations (Detail) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
| Stock-based compensation expense | $ 16,940 | $ 14,340 | $ 31,638 | $ 25,720 |
| Cost of Product Sales [Member] | ||||
| Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
| Stock-based compensation expense | 510 | 18 | 838 | 352 |
| Research and Development [Member] | ||||
| Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
| Stock-based compensation expense | 4,746 | 4,477 | 8,888 | 7,910 |
| Selling, General and Administrative [Member] | ||||
| Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
| Stock-based compensation expense | $ 11,684 | $ 9,845 | $ 21,912 | $ 17,458 |