Leases - Schedule of Future Minimum Lease Payments under Non-Cancelable Operating Leases for the Sublease (Details) - USD ($) $ in Thousands |
Dec. 31, 2021 |
Jan. 01, 2021 |
Dec. 31, 2020 |
|---|---|---|---|
| Operating Lease Liabilities Payments Due [Abstract] | |||
| 2022 | $ 4,008 | ||
| 2023 | 4,706 | ||
| 2024 | 4,847 | ||
| 2025 | 4,993 | ||
| 2026 | 5,143 | ||
| Thereafter | 17,787 | ||
| Total future minimum lease payments | 41,484 | ||
| Less: imputed interest | (8,848) | ||
| Total lease liability | 32,636 | $ 800 | |
| Lease liability | 3,893 | $ 0 | |
| Lease liability, net of current portion | $ 28,743 | 0 | |
| 2021 | 800 | ||
| 2022 | 3,452 | ||
| 2023 | 4,706 | ||
| 2024 | 4,847 | ||
| 2025 | 4,993 | ||
| Thereafter | 22,930 | ||
| Total | $ 41,728 |