Annual report pursuant to Section 13 and 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.4
Debt - Components of Interest Expense, Related Fees, Losses on Debt Extinguishment and Cash Paid for Interest Expense for Debt (Parentheticals) (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]      
Line of credit facility, termination date Nov. 09, 2026    
September 2026 Notes      
Debt Instrument [Line Items]      
Amortization of original issue discounts $ 166 $ 48  
Debt retired Sep. 16, 2026    
January 2027 Notes      
Debt Instrument [Line Items]      
Amortization of original issue discounts $ 475    
Debt retired Jan. 20, 2027    
2031 Asset-Backed Notes      
Debt Instrument [Line Items]      
Amortization of original issue discounts $ 98    
Debt retired Jul. 20, 2031    
2022 Notes      
Debt Instrument [Line Items]      
Amortization of original issue discounts $ 23 165 $ 165
Debt retired Oct. 23, 2022    
2022 Convertible Notes      
Debt Instrument [Line Items]      
Amortization of original issue discounts $ 112 671 $ 671
Debt retired Feb. 01, 2022    
April 2025 Notes      
Debt Instrument [Line Items]      
Debt extinguishment costs   1,477  
2027 Asset-Backed Notes      
Debt Instrument [Line Items]      
Debt extinguishment costs   1,272  
2028 Asset-Backed Notes      
Debt Instrument [Line Items]      
Debt extinguishment costs   $ 1,670