Quarterly report pursuant to Section 13 or 15(d)

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

v3.22.2.2
Long-Term Debt, Net of Debt Discount and Financing Fees - Narrative (Details)
$ in Thousands
3 Months Ended 9 Months Ended
Jun. 30, 2020
USD ($)
Sep. 30, 2022
USD ($)
letterOfCredit
Sep. 30, 2021
USD ($)
Sep. 30, 2022
USD ($)
letterOfCredit
Sep. 30, 2021
USD ($)
Dec. 31, 2021
USD ($)
letterOfCredit
Jun. 30, 2021
USD ($)
Debt Instrument [Line Items]              
Amortization of debt discount and deferred financing fees   $ 225 $ 157 $ 667 $ 384    
Restricted cash   $ 6,251   $ 6,251   $ 6,251  
Number of letters of credit | letterOfCredit   2   2   2  
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,407   4,407   5,562  
Oberland Facility              
Debt Instrument [Line Items]              
Term of debt 7 years            
Long-term debt   $ 45,487   $ 45,487   45,325  
Period for which quarterly interest payments should be made 7 years            
Interest rate (as a percent) 7.50%            
Interest rate at period end (as a percent)   9.80%   9.80%      
Threshold revenue achievement for payment of additional quarterly royalty $ 70,000 $ 70          
Additional payment percentage 1.00%            
Interest costs incurred   49 337 $ 756 590    
Cash paid for interest   1,249 1,218 3,637 2,890    
Interest capitalized   1,450 $ 1,338 4,474 $ 2,526    
Accumulated capitalized interest costs   9,748   9,748      
Financing costs   642   642      
Oberland Facility | LIBOR              
Debt Instrument [Line Items]              
Additional interest floor rate (as a percent) 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