Quarterly report pursuant to Section 13 or 15(d)

Long Term Debt (Details)

v3.20.2
Long Term Debt (Details) - USD ($)
shares in Thousands
6 Months Ended
Jun. 30, 2020
Apr. 23, 2020
Debt Instrument [Line Items]    
Long-term Debt $ 31,960,000  
Financing costs paid $ 350,000  
Oberland Facility    
Debt Instrument [Line Items]    
Term of debt 7 years  
Principal Balance $ 35,000,000  
Long-term Debt 31,960,000  
Maximum line of credit amount 75,000  
Financing costs 650,000  
Financing costs paid $ 350,000  
Period for which quarterly interest payments should be made 7 years  
Interest rate 7.50%  
Interest rate at closing 9.50%  
Threshold revenue achievement for payment of additional quarterly royalty $ 70,000,000  
Additional payment percentage 1.00%  
Lenders warrant purchase 3,500  
Moving average of closing stock 45 days  
Increase in interest rate 11.50%  
Minimum internal rate of return ("IRR") on Capital 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