Share-Based Compensation - Summary of Share-based Compensation Expense Classified in Consolidated Statements of Operations and Comprehensive Loss (Detail) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||
| Share-based compensation expense | $ 9,795 | $ 17,194 |
| Research and Development Expenses [Member] | ||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||
| Share-based compensation expense | 4,617 | 7,467 |
| General and Administrative Expenses [Member] | ||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||
| Share-based compensation expense | $ 5,178 | $ 9,727 |