Quarterly report pursuant to Section 13 or 15(d)

Debt - Components of Interest Expense, Related Fees, Losses on Debt Extinguishment and Cash Paid for Interest Expense for Debt (Parentheticals) (Details)

v3.22.2.2
Debt - Components of Interest Expense, Related Fees, Losses on Debt Extinguishment and Cash Paid for Interest Expense for Debt (Parentheticals) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Debt Instrument [Line Items]        
Debt retired     Oct. 23, 2022  
Line of credit facility, termination date     Nov. 09, 2026  
September 2026 Notes        
Debt Instrument [Line Items]        
Amortization of original issue discounts $ 42 $ 6 $ 125 $ 6
January 2027 Notes        
Debt Instrument [Line Items]        
Amortization of original issue discounts 126   349  
2031 Asset-Backed Notes        
Debt Instrument [Line Items]        
Amortization of original issue discounts $ 47   51  
2022 Notes        
Debt Instrument [Line Items]        
Amortization of original issue discounts   41 23 123
2022 Convertible Notes        
Debt Instrument [Line Items]        
Amortization of original issue discounts   168 $ 112 504
Debt retired     Feb. 01, 2022  
April 2025 Notes        
Debt Instrument [Line Items]        
Debt extinguishment costs   1,477   $ 1,477
Date retired       Jul. 01, 2021
2027 Asset-Backed Notes        
Debt Instrument [Line Items]        
Debt extinguishment costs   28   $ 28
Date retired       Oct. 20, 2021
2028 Asset-Backed Notes        
Debt Instrument [Line Items]        
Debt extinguishment costs   $ 197   $ 197
Date retired       Oct. 20, 2021
Wells Facility        
Debt Instrument [Line Items]        
Line of credit facility, termination date       Nov. 29, 2021