Fair Value Measurements - Schedule of Cash and Cash Equivalents (Details) - USD ($) $ in Thousands |
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|---|---|
| Fair Value Disclosures [Abstract] | ||||
| Cash and cash equivalents | $ 114,057 | $ 138,685 | $ 89,893 | |
| Short-term restricted cash | 0 | 0 | 279 | |
| Long-term restricted cash | 1,379 | 1,379 | 1,379 | |
| Total cash, cash equivalents, and restricted cash | $ 115,436 | $ 140,064 | $ 91,551 | $ 37,682 |