Warrants - Fair value of warrant liabilities (Details) - USD ($) $ in Thousands |
1 Months Ended | 8 Months Ended | 12 Months Ended | |||
---|---|---|---|---|---|---|
Jun. 24, 2020 |
May 06, 2019 |
Oct. 31, 2020 |
Dec. 31, 2019 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|
Class of Warrant or Right [Line Items] | ||||||
Balance | $ 0 | |||||
Balance as of December 31, 2019 | $ 2,220 | |||||
Change in fair value of warrant derivative liability | $ (2,220) | 0 | ||||
Change in fair value of warrant liabilities | $ 100 | (23,463) | $ 22,678 | |||
Balance | 0 | 0 | ||||
Series F Warrants | ||||||
Class of Warrant or Right [Line Items] | ||||||
Balance | 39,850 | |||||
Issuance of Series F warrants | $ 14,952 | |||||
Change in fair value of warrant liabilities | (23,463) | 24,898 | ||||
Reclassification of warrant liability to equity | (16,387) | |||||
Balance | $ 0 | $ 39,850 |
X | ||||||||||
- Definition Class of Warrant or Right, Reclassification to Equity No definition available.
|
X | ||||||||||
- Definition Issuance Of Warrants No definition available.
|
X | ||||||||||
- Definition The amount of derivative liabilities that an Entity assumes in acquiring a business or in consideration for an asset received in a noncash (or part noncash) acquisition. Noncash is defined as transactions during a period that affect recognized assets or liabilities but that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. No definition available.
|
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 Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition Amount of expense (income) related to adjustment to fair value of warrant liability. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Aggregate net gain (loss) on all derivative instruments recognized in earnings during the period, before tax effects. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Details
|