Summary of Significant Accounting Policies (Details) - USD ($) $ in Thousands |
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|---|---|
| Summary of Significant Accounting Policies | ||||
| Restricted cash for the benefit of its leased properties | $ 1,700 | $ 1,700 | ||
| Restricted cash (current) | $ 100 | |||
| Current restricted cash included in prepaid expense and other current assets | us-gaap:PrepaidExpenseAndOtherAssetsCurrent | us-gaap:PrepaidExpenseAndOtherAssetsCurrent | ||
| Restricted cash (non-current) | $ 1,573 | $ 1,573 | ||
| Cash, cash equivalents and restricted cash | 227,583 | 92,901 | $ 93,633 | $ 309,421 |
| Restricted cash | $ 1,700 | $ 1,700 | $ 1,700 |