| Commitments and Contingencies - Additional Information (Details) - USD ($) $ in Thousands | 12 Months Ended | |
|---|---|---|
| Dec. 31, 2021 | Dec. 31, 2020 | |
| Commitments and Contingencies Disclosure [Abstract] | ||
| Contractual obligation , change in balance | $ 64,700 | |
| Contractual obligation | 186,385 | $ 121,700 | 
| Proceeds received from other party | $ 5,800 | 
| X | ||||||||||
| 
- Definition Contractual Obligation, Change in Balance No definition available. 
 | 
| X | ||||||||||
| 
- Definition Research and Development Arrangement, Contract For A Jointly Funded Project, Cumulative Proceeds Received From Other Party No definition available. 
 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of contractual obligation, including but not limited to, long-term debt, capital lease obligations, operating lease obligations, purchase obligations, and other commitments. No definition available. 
 |