Annual report pursuant to Section 13 and 15(d)

Debt - Summary of Balances of Exchangeable Notes (Details)

v3.22.1
Debt - Summary of Balances of Exchangeable Notes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]    
Exchangeable Notes $ 14,332  
January 2020 $1,000 Exchangeable Notes due January 31, 2025    
Debt Instrument [Line Items]    
Exchangeable Notes 51,588 $ 51,588
Exchangeable Notes, Accrued Interest 4,246 3,176
September 2020 $1,000 Exchangeable Notes due January 31, 2025    
Debt Instrument [Line Items]    
Exchangeable Notes 220 220
Exchangeable Notes, Accrued Interest 12 4
Conversion of $1,000 Exchangeable Notes due January 31, 2025    
Debt Instrument [Line Items]    
Exchangeable Notes, Conversion (39,201)  
Exchangeable Notes, Accrued Interest Write off (2,697)  
2025 Exchangeable Notes    
Debt Instrument [Line Items]    
Exchangeable Notes 12,607 51,808
Unamortized discount and debt issuance costs (7,238) (34,152)
Exchangeable Notes, net 5,369 17,656
Exchangeable Notes, Accrued Interest $ 1,561 $ 3,180