Stock-Based Compensation - Summary of Stock-Based Compensation Expenses (Detail) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2025 |
Sep. 30, 2024 |
Sep. 30, 2025 |
Sep. 30, 2024 |
|
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Stock-based compensation | $ 22,314 | $ 15,459 | $ 64,768 | $ 44,441 |
| Research and Development Expenses [Member] | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Stock-based compensation | 12,346 | 8,298 | 35,977 | 22,283 |
| General and Administrative Expenses [Member] | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Stock-based compensation | $ 9,968 | $ 7,161 | $ 28,791 | $ 22,158 |