Income Taxes - Unrecognized Income Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | |||
| Gross unrecognized income tax benefits — beginning balance | $ 2,364 | $ 3,208 | $ 2,369 |
| Increases related to tax positions taken during the current year | 1,788 | 649 | 951 |
| Decreases related to tax positions taken during current year | 0 | 0 | 0 |
| Increases related to tax positions taken during the prior years | 386 | 0 | 0 |
| Decreases related to tax positions taken during the prior years | (235) | (1,493) | (112) |
| Gross unrecognized income tax benefits — ending balance | $ 4,303 | $ 2,364 | $ 3,208 |