Convertible Notes - Additional Information (Details) $ / shares in Units, $ in Thousands |
1 Months Ended | 3 Months Ended | 12 Months Ended | |||
---|---|---|---|---|---|---|
Oct. 31, 2021
USD ($)
shares
|
Dec. 31, 2020
USD ($)
$ / shares
|
Dec. 31, 2021
USD ($)
|
Dec. 31, 2021
USD ($)
TradingDays
shares
|
Dec. 31, 2020
USD ($)
$ / shares
|
Dec. 01, 2020
USD ($)
|
|
Debt Instrument [Line Items] | ||||||
Derivative liabilities fair value | $ 18,400 | $ 0 | $ 0 | $ 18,400 | $ 4,600 | |
Issuance costs | 9,700 | 9,700 | ||||
Unamortized discount | $ 9,600 | 6,300 | 6,300 | $ 9,600 | ||
Debt instrument, effective interest rate | 8.70% | 8.70% | ||||
Amortization of debt discount and non-cash interest | 1,572 | $ 3,656 | ||||
Interest income (expense), net | 12,636 | 9,915 | ||||
Stock Issued During Period Value Conversion Of Convertible Securities | $ 20,200 | $ 44,606 | 18,750 | |||
Stock Issued During Period Shares New Issues | shares | 4,336,938 | |||||
Inducement Loss | $ 9,800 | |||||
Gains Losses On Extinguishment Of Debt | $ 946 | 10,952 | ||||
Interest Expense | ||||||
Debt Instrument [Line Items] | ||||||
Amortization of debt discount and non-cash interest | 1,600 | |||||
Interest and Other Income (Expense), Net | ||||||
Debt Instrument [Line Items] | ||||||
Change in fair value of derivative liability | 18,400 | |||||
Minimum | ||||||
Debt Instrument [Line Items] | ||||||
Inducement Loss | 1,400 | |||||
7.25% Convertible Senior Notes due 2025 | ||||||
Debt Instrument [Line Items] | ||||||
Principal amount | $ 168,500 | 126,400 | $ 126,400 | $ 168,500 | ||
Debt instrument, annual interest rate | 7.25% | 7.25% | ||||
Debt instrument, issuance date | Dec. 07, 2020 | |||||
Debt instrument, frequency of periodic payment | semi-annually | |||||
Debt instrument due date | Dec. 01, 2025 | |||||
Debt instrument, initial payment date | Jun. 01, 2021 | |||||
Debt instrument, convertible, initial conversion rate per $1,000 principal amount of convertible notes | 278.0094 | |||||
Debt instrument convertible initial conversion price | $ / shares | $ 3.60 | $ 3.60 | ||||
Debt instrument, redemption period, start date | Dec. 01, 2023 | |||||
Debt instrument, convertible, threshold percentage of stock price trigger | 130.00% | |||||
Debt instrument, convertible, threshold trading days | TradingDays | 20 | |||||
Debt instrument, convertible, threshold consecutive trading days | TradingDays | 30 | |||||
Events of default, description | The Convertible Notes have customary provisions relating to the occurrence of “Events of Default” (as defined in the Indenture), which include the following: (i) certain payment defaults on the Convertible Notes (which, in the case of a default in the payment of interest on the Convertible Notes, will be subject to a 30-day cure period); (ii) the Company’s failure to send certain notices under the Indenture within specified periods of time; (iii) the Company’s failure to comply with certain covenants in the Indenture relating to the Company’s ability to consolidate with or merge with or into, or sell, lease or otherwise transfer, in one transaction or a series of transactions, all or substantially all of the assets of the Company and its subsidiaries, taken as a whole, to another person; (iv) a default by the Company in its other obligations or agreements under the Indenture or the Convertible Notes if such default is not cured or waived within 60 days after notice is given in accordance with the Indenture; (v) certain defaults by the Company or any of its subsidiaries with respect to indebtedness for borrowed money of at least $7.5 million; (vi) the rendering of certain judgments against the Company or any of its subsidiaries for the payment of at least $7.5 million, where such judgments are not discharged or stayed within 60 days after the date on which the right to appeal has expired or on which all rights to appeal have been extinguished; and (vii) certain events of bankruptcy, insolvency and reorganization involving the Company or any of the Company’s significant subsidiaries | |||||
Amortization of debt discount and non-cash interest | $ 100 | |||||
Interest income (expense), net | $ 11,700 | |||||
7.25% Convertible Senior Notes due 2025 | Minimum | ||||||
Debt Instrument [Line Items] | ||||||
Debt instrument, debt default, amount | $ 7,500 | 7,500 | ||||
Common Stock [Member] | ||||||
Debt Instrument [Line Items] | ||||||
Stock Issued During Period Value Conversion Of Convertible Securities | $ 13 | $ 1 | ||||
Stock Issued During Period Shares New Issues | shares | 8,513,850 | 75,162,049 | ||||
Common Stock [Member] | Minimum | ||||||
Debt Instrument [Line Items] | ||||||
Stock Issued During Period Shares New Issues | shares | 427,804 | |||||
Common Stock [Member] | Early Voluntary Conversion Option | ||||||
Debt Instrument [Line Items] | ||||||
Stock Issued During Period Value Conversion Of Convertible Securities | $ 15,600 |