Annual report pursuant to Section 13 and 15(d)

Long-Term Debt - Narrative (Details)

v3.20.4
Long-Term Debt - Narrative (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 10, 2020
USD ($)
$ / shares
shares
Jun. 30, 2020
USD ($)
fiscalQuarters
Dec. 31, 2020
USD ($)
Apr. 23, 2020
USD ($)
Dec. 31, 2019
USD ($)
Debt Instrument [Line Items]          
Principal balance     $ 35,000   $ 0
Long-term debt     32,027   $ 0
Debt derivative liability          
Debt Instrument [Line Items]          
Debt derivative liability   $ 2,387      
Oberland Option          
Debt Instrument [Line Items]          
Exercise price of warrants (in USD per share) | $ / shares $ 14.13        
Debt derivative liability   $ 176      
Oberland Option | TPC Investments II LP          
Debt Instrument [Line Items]          
Number of shares called by warrants (in shares) | shares 247,699        
Oberland Facility          
Debt Instrument [Line Items]          
Term of debt   7 years      
Maximum borrowing capacity   $ 75,000      
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 paid     $ 1,941    
Interest costs capitalized     $ 997    
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      
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      
Tranche Two          
Debt Instrument [Line Items]          
Contingent additional borrowing capacity   $ 15,000      
Number of quarters | fiscalQuarters   2      
Revenue threshold necessary to obtain additional borrowing   $ 20,000      
Tranche Three          
Debt Instrument [Line Items]          
Contingent additional borrowing capacity   $ 25,000      
Number of quarters | fiscalQuarters   2      
Revenue threshold necessary to obtain additional borrowing   $ 28,000      
Paycheck Protection Program Loan          
Debt Instrument [Line Items]          
Long-term debt       $ 7,820