Annual report pursuant to Section 13 and 15(d)

Related Party Promissory Note and Convertible Debt (Details)

v3.21.1
Related Party Promissory Note and Convertible Debt (Details)
$ in Thousands
1 Months Ended 12 Months Ended
Sep. 30, 2020
USD ($)
Mar. 31, 2020
USD ($)
Nov. 30, 2019
USD ($)
Aug. 31, 2019
USD ($)
Feb. 28, 2019
USD ($)
Nov. 30, 2018
USD ($)
item
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Aug. 16, 2020
USD ($)
Mar. 23, 2020
USD ($)
Debt Instrument [Line Items]                    
Number of entities controlled by investors to whom debt was issued | item           2        
Accrued interest                 $ 5,200  
Gain on extinguishment of debt             $ 5,045      
Carrying value of debt                 $ 286,100  
Unsecured promissory note                    
Debt Instrument [Line Items]                    
Principal amount           $ 15,000        
Amount outstanding               $ 15,000    
Accrued interest               $ 300    
Repayment of debt     $ 10,000   $ 5,000          
Interest expense paid     $ 1,100   $ 200          
Unsecured promissory note | LIBOR                    
Debt Instrument [Line Items]                    
Spread (as a percent)           8.00%        
Effective interest rate               10.875%    
$100M Notes                    
Debt Instrument [Line Items]                    
Principal amount       $ 100,000            
Amount outstanding               $ 86,100    
Accrued interest   $ 7,400                
Interest rate       12.00%            
Recognition Of Embedded Derivative Liability       $ 17,800            
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                
Fair value of the embedded derivative liability   17,700                
Fair value of Notes   $ 105,600               $ 105,600