Stockholders' Equity - Summary of Stock Based Compensation Expense (Detail) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Jun. 30, 2025 |
Jun. 30, 2024 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
Stock-based compensation expense | $ 9,698 | $ 7,160 | $ 24,377 | $ 13,605 |
Research and Development [Member] | ||||
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
Stock-based compensation expense | 2,368 | 2,705 | 6,682 | 5,166 |
Selling, General and Administrative Expenses [Member] | ||||
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
Stock-based compensation expense | $ 7,330 | $ 4,455 | $ 17,695 | $ 8,439 |