Leases - Summary of Operating Lease Liabilities (Details) - USD ($) $ in Thousands |
Dec. 31, 2021 |
Dec. 31, 2020 |
|---|---|---|
| Leases [Abstract] | ||
| Current operating lease liabilities | $ 6,994 | $ 3,981 |
| Operating lease liabilities, net of current portion | 51,338 | 58,361 |
| Total operating lease liabilities | $ 58,332 | $ 62,342 |