| Convertible Notes Payable - Narrative (Details) $ / shares in Units, $ in Thousands | 1 Months Ended | 3 Months Ended | 9 Months Ended | ||||
|---|---|---|---|---|---|---|---|
| Sep. 29, 2021  shares | Jan. 04, 2021  USD ($)  leased_asset | Sep. 30, 2021  USD ($) | Sep. 30, 2022  USD ($)  $ / shares | Sep. 30, 2021  USD ($) | Sep. 30, 2022  USD ($)  $ / shares | Sep. 30, 2021  USD ($) | |
| Debt Instrument [Line Items] | |||||||
| Loss on the convertible note modification | $ 0 | $ 50,577 | $ 0 | $ 50,577 | |||
| Exchange ratio | 0.8149 | ||||||
| Convertible Notes Due January 3, 2023 | Convertible Note | |||||||
| Debt Instrument [Line Items] | |||||||
| Loss on the convertible note modification | $ 50,600 | ||||||
| Convertible Note | Convertible Notes Due January 3, 2023 | |||||||
| Debt Instrument [Line Items] | |||||||
| Principal amount | $ 5,000 | ||||||
| Effective interest rate (as a percent) | 1.28% | ||||||
| Conversion price (in usd per share) | $ / shares | $ 0.74 | $ 0.74 | |||||
| Conversion of debt, shares issued (in shares) | shares | 6,820,022 | ||||||
| Exchange ratio | 0.8149 | ||||||
| Number of shares the note is convertible into (in shares) | leased_asset | 5,557,864 | ||||||
| X | ||||||||||
| 
- Definition The number of shares issued in exchange for the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or payments in the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition The price per share of the conversion feature embedded in the debt instrument. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition The number of equity instruments that the holder of the debt instrument would receive if the debt was converted to equity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Face (par) amount of debt instrument at time of issuance. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. 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 Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Recapitalization Exchange Ratio No definition available. 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |