| Long-Term Debt - Loan and Security Agreement and Credit Facility (Details) - USD ($) $ in Thousands | 1 Months Ended | 12 Months Ended | ||||
|---|---|---|---|---|---|---|
| Jan. 31, 2021 | Apr. 30, 2021 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019 | Nov. 30, 2021 | |
| Debt Instrument [Line Items] | ||||||
| Repayment of debt | $ 20,058 | $ 7,333 | $ 4,670 | |||
| Debt instrument carrying amount | 35,130 | 13,495 | ||||
| Loan and security agreement | ||||||
| Debt Instrument [Line Items] | ||||||
| Loans payable in monthly installments of principal and interest | $ 500 | |||||
| Repayment of debt | $ 6,500 | |||||
| Debt instrument carrying amount | $ 6,500 | |||||
| Loan and security agreement | Term A tranche | ||||||
| Debt Instrument [Line Items] | ||||||
| Debt instrument carrying amount | 4,000 | |||||
| Loan and security agreement | Term B tranche | ||||||
| Debt Instrument [Line Items] | ||||||
| Debt instrument carrying amount | $ 6,000 | |||||
| Credit facility | ||||||
| Debt Instrument [Line Items] | ||||||
| Debt Face Amount | $ 10,000 | |||||
| Debt instrument carrying amount | $ 8,000 | $ 25,000 | ||||
| Available credit facility | $ 1,771 | |||||
| Credit facility | Prime rate | ||||||
| Debt Instrument [Line Items] | ||||||
| Debt interest rate | 1.00% | |||||
| X | ||||||||||
| 
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Face (par) amount of debt instrument at time of issuance. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Contractual interest rate for funds borrowed, under the debt agreement. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of the required periodic payments including both interest and principal payments. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of unused borrowing capacity under the long-term financing arrangement that is available to the entity as of the balance sheet date. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |