Quarterly report pursuant to Section 13 or 15(d)

Long-Term Debt, Net of Debt Discount and Financing Fees - Narrative (Details)

v3.22.2
Long-Term Debt, Net of Debt Discount and Financing Fees - Narrative (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2020
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Dec. 31, 2021
Debt Instrument [Line Items]            
Amortization of debt discount and deferred financing fees   $ 223 $ 153 $ 442 $ 227  
Restricted cash   6,251   6,251   $ 6,251
Restricted Cash            
Debt Instrument [Line Items]            
Collateral amount   6,000   6,000   250
Debt derivative liabilities            
Debt Instrument [Line Items]            
Fair value of derivatives   4,876   4,876   5,562
Oberland Facility            
Debt Instrument [Line Items]            
Term of debt 7 years          
Long-term debt   $ 45,263   $ 45,263   45,325
Period for which quarterly interest payments should be made 7 years          
Interest rate 7.50%          
Interest rate at period end   9.50%   9.50%    
Threshold revenue achievement for payment of additional quarterly royalty $ 70,000          
Additional payment percentage 1.00%          
Interest costs incurred   $ 372 260 $ 707 260  
Cash paid for interest   1,201 840 2,388 1,672  
Interest capitalized   1,579 645 3,024 1,690  
Accumulated capitalized interest costs   8,298   8,298    
Financing costs   642   642    
Oberland Facility | LIBOR            
Debt Instrument [Line Items]            
Additional interest floor rate 2.00%          
First Tranche            
Debt Instrument [Line Items]            
Long-term debt $ 35,000 35,000   35,000   35,000
Second Tranche            
Debt Instrument [Line Items]            
Long-term debt   $ 15,000 $ 15,000 $ 15,000 $ 15,000 $ 15,000