The Company and a Summary of its Significant Accounting Policies - Summary of Reconciliation of Cash, Cash Equivalents and Restricted Cash (Details) - USD ($) $ in Thousands |
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
|---|---|---|---|
| Organization Consolidation And Presentation Of Financial Statements [Abstract] | |||
| Cash and cash equivalents, beginning of period | $ 24,248 | $ 15,374 | $ 4,753 |
| Cash, cash equivalents and restricted cash, beginning of period | 24,248 | 15,374 | 4,753 |
| Cash and cash equivalents, end of period | 176,882 | 24,248 | 15,374 |
| Restricted cash, end of period | 3,025 | ||
| Cash, cash equivalents and restricted cash, end of period | $ 179,907 | $ 24,248 | $ 15,374 |