Stock-Based Compensation - Summary of Stock-based Compensation Expense (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||
| Stock-based compensation expense | $ 17,542 | $ 6,591 |
| Research and Development | ||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||
| Stock-based compensation expense | 7,328 | 2,699 |
| General and Administrative | ||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||
| Stock-based compensation expense | $ 10,214 | $ 3,892 |