Quarterly report pursuant to Section 13 or 15(d)

Long Term Debt (Details)

v3.20.2
Long Term Debt (Details)
shares in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Jun. 30, 2020
USD ($)
Sep. 30, 2020
USD ($)
shares
Sep. 30, 2020
USD ($)
shares
Apr. 23, 2020
USD ($)
Debt Instrument [Line Items]        
Long-term debt   $ 31,817,000 $ 31,817,000  
Financing costs paid     642,000  
Oberland Facility        
Debt Instrument [Line Items]        
Term of debt 7 years      
Principal Balance $ 35,000,000 35,000,000 35,000,000  
Long-term debt   31,817,000 $ 31,817,000  
Maximum line of credit amount 75,000      
Financing costs $ 642,000      
Financing costs paid   $ 642,000    
Period for which quarterly interest payments should be made 7 years      
Interest rate 7.50%      
Interest rate at closing   9.50% 9.50%  
Threshold revenue achievement for payment of additional quarterly royalty $ 70,000,000      
Cash paid for interest   $ 858,000    
Interest capitalized   $ 489,000    
Additional payment percentage 1.00%      
Lenders warrant purchase | shares   3,500 3,500  
Moving average of closing stock     45 days  
Increase in interest rate   11.50% 11.50%  
Minimum internal rate of return ("IRR") on Capital   4.00% 4.00%  
Liquidity covenant multiplier     1.1  
Paycheck Protection Program Loan        
Debt Instrument [Line Items]        
Long-term debt       $ 7,820,000
Debt Instrument, Second Tranche | Oberland Facility        
Debt Instrument [Line Items]        
Contingent additional borrowing capacity $ 15,000,000      
Number of quarters 2      
Threshold revenue to be achieved to obtain additional borrowing $ 20,000,000      
Debt Instrument, Third Tranche | Oberland Facility        
Debt Instrument [Line Items]        
Contingent additional borrowing capacity $ 25,000,000      
Number of quarters 2      
Threshold revenue to be achieved to obtain additional borrowing $ 28,000,000      
Each of Third and Fourth Quarter of Year 2020 | Oberland Facility        
Debt Instrument [Line Items]        
Revenue target     $ 8,750,000  
Each Of First And Second Quarter of Year 2021 | Oberland Facility        
Debt Instrument [Line Items]        
Revenue target     17,500,000  
Each Quarter After Second Quarter of Year 2021 and thereafter | Oberland Facility        
Debt Instrument [Line Items]        
Revenue target     $ 20,000,000  
LIBOR | Oberland Facility        
Debt Instrument [Line Items]        
Additional interest floor rate 2.00%      
Debt derivative liability | Oberland Facility        
Debt Instrument [Line Items]        
Fair value of derivatives $ 2,387,000      
Common stock derivative option liability | Oberland Facility        
Debt Instrument [Line Items]        
Fair value of derivatives $ 176,000