Annual report pursuant to Section 13 and 15(d)

Related Party Promissory Note and Convertible Debt (Details)

v3.22.0.1
Related Party Promissory Note and Convertible Debt (Details) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
Sep. 30, 2020
Mar. 31, 2020
Aug. 31, 2019
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Aug. 16, 2020
Mar. 23, 2020
Long-term Debt, Convertible Debt and Redeemable Convertible Preference Shares                
Gain on extinguishment of debt       $ 0 $ 5,045      
Carrying value of debt             $ 286,100  
Accrued interest             $ 5,200  
$100M Notes                
Long-term Debt, Convertible Debt and Redeemable Convertible Preference Shares                
Principal amount     $ 100,000          
Interest rate     12.00%          
Addition during the year     $ 17,800          
Amount outstanding           $ 86,100    
Unamortized debt discount           13,900    
Interest expense           $ 3,800    
Percentage of cash price per share paid 80.00% 80.00% 80.00%          
Debt instrument conversion price $ 500,000 $ 500,000            
Unpaid and accrued interest, forgiveness   7,400            
Gain on extinguishment of debt   8,300            
Carrying value of debt   88,700            
Accrued interest   7,400            
Fair value of the embedded derivative liability   17,700            
Fair value of Notes   $ 105,600           $ 105,600