Stock-based Compensation - Additional Information (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2022 |
Jun. 30, 2021 |
Jun. 30, 2022 |
Jun. 30, 2021 |
|
| Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||
| Unrecognized stock-based compensation cost related to outstanding unvested stock options that are expected to vest | $ 24,200 | $ 24,200 | ||
| Unrecognized stock-based compensation cost, expected period to be recognized | 2 years 9 months 18 days | |||
| Stock-based compensation expense | 2,672 | $ 2,888 | $ 5,374 | $ 5,575 |
| 2019 ESPP | ||||
| Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||
| Stock-based compensation expense | $ 200 | $ 1,000 | $ 300 | $ 1,800 |
| 2019 Plan | ||||
| Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||
| Shares remained available for issuance | 2,942,751 | 2,942,751 | ||