Annual report pursuant to Section 13 and 15(d)

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

v3.22.0.1
Long-Term Debt, Net of Financing Fees - Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 10, 2020
Jun. 30, 2020
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Jun. 30, 2021
Mar. 31, 2021
Apr. 23, 2020
Debt Instrument [Line Items]                
Interest expense     $ 1,356 $ 1,054 $ 40      
Long-term debt     44,821 32,027        
Standby Letters of Credit                
Debt Instrument [Line Items]                
Collateral amount             $ 250  
Restricted Cash                
Debt Instrument [Line Items]                
Collateral amount     6,000 6,000        
Debt derivative liabilities                
Debt Instrument [Line Items]                
Debt derivative liabilities   $ 2,387 5,562          
Oberland Option                
Debt Instrument [Line Items]                
Exercise price of warrants (in USD per share) $ 14.13              
Debt derivative liabilities   $ 175            
Oberland Option | TPC Investments II LP                
Debt Instrument [Line Items]                
Number of shares called by warrants (in shares) 247,699              
Oberland Facility                
Debt Instrument [Line Items]                
Term of debt   7 years            
Financing costs           $ 642    
Financing costs paid     $ 642          
Period for which quarterly interest payments are required   7 years            
Interest rate   7.50%            
Interest rate at period end     9.50%          
Threshold revenue achievement for payment of additional quarterly royalty   $ 70,000            
Additional payment percentage   1.00%            
Interest expense     $ 646          
Interest paid     4,103 1,709        
Interest costs capitalized     4,277 997        
Accumulated capitalized interest costs     5,274          
Make-whole payment, minimum required internal rate of return   11.50%            
Interest rate increase in the event of default   4.00%            
Liquidity covenant multiplier   1.1            
Long-term debt     $ 45,325 32,623        
Oberland Facility | Each of Third And Fourth Quarter of 2020                
Debt Instrument [Line Items]                
Revenue target   $ 8,750            
Oberland Facility | Each Of The First And Second Quarter of 2021                
Debt Instrument [Line Items]                
Revenue target   17,500            
Oberland Facility | Each Quarter Thereafter                
Debt Instrument [Line Items]                
Revenue target   20,000            
Oberland Facility | Oberland Option                
Debt Instrument [Line Items]                
Value of warrants outstanding   $ 3,500            
Moving average of closing stock     45 days          
Gross proceeds from warrant exercises $ 3,500              
Oberland Facility | LIBOR                
Debt Instrument [Line Items]                
Additional interest floor rate   2.00%            
Tranche One                
Debt Instrument [Line Items]                
Principal balance   $ 35,000 $ 35,000 35,000        
Tranche One | Debt derivative liabilities                
Debt Instrument [Line Items]                
Debt derivative liabilities           1,076    
Tranche Two                
Debt Instrument [Line Items]                
Principal balance     $ 15,000 $ 0   15,000    
Tranche Two | Debt derivative liabilities                
Debt Instrument [Line Items]                
Debt derivative liabilities           $ 1,961    
Paycheck Protection Program Loan                
Debt Instrument [Line Items]                
Long-term debt               $ 7,820