Stock-Based Compensation - Summary of Share-based Compensation Expense (Detail) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||||
|---|---|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||||
| Stock-based compensation expense | $ 12,395 | $ 5,371 | $ 19,818 | $ 10,669 | ||
| Location, Statement of Income, Balance [Axis]: us-gaap:ResearchAndDevelopmentExpense | ||||||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||||
| Stock-based compensation expense | 928 | 664 | 1,852 | 1,327 | ||
| Location, Statement of Income, Balance [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense | ||||||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||||
| Stock-based compensation expense | [1] | $ 11,467 | $ 4,707 | $ 17,966 | $ 9,342 | |
| ||||||