Note 8 - Long-term Debt (Details Textual) - USD ($)
12 Months Ended
Aug. 01, 2019
May 30, 2019
Dec. 31, 2021
Dec. 31, 2020
Repayments of Long-term Debt, Total     $ 8,833,000 $ 4,667,000
Long-term Debt, Total     13,803,000  
Amortization of Debt Discount (Premium)     761,000 $ 1,069,000
Leasehold Improvements, Gross     $ 1,700,000  
Site Readiness Agreement [Member]        
Debt Instrument, Interest Rate, Effective Percentage     14.35% 14.35%
Debt Instrument, Periodic Payment, Principal $ 500,000      
Total Obligation Under Leasehold Agreement     $ 500,000 $ 800,000
Warrant In Connection with Oxford Finance Loan Agreement [Member]        
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares)   176,679    
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share)   $ 2.83    
Loan Agreement with Oxford Finance LLC [Member]        
Debt Instrument, Face Amount   $ 25,000,000.0    
Repayments of Long-term Debt, Total   8,900,000    
Proceeds from Debt, Net of Issuance Costs and Repayment of Debt   $ 15,900,000    
Debt Instrument, Interest Rate, Base Percentage   2.50%    
Prepayment Charge, Percentage of Outstanding Balance, After May 30, 2020, Before May 30, 2021   1.00%    
Debt Instrument, Covenant, Minimum Required Unrestircted Cash   $ 5,000,000.0    
Debt Instrument, Minimum Indebtedness Amount with Acceleration Right   250,000    
Loan Default Events, Trigger of Negative Impact of Government Approvals and Judgments   $ 500,000    
Debt Instrument, Default Additional Interest Rate   5.00%    
Fair Value of Contingent Put Option, Liability     100,000  
Long-term Debt, Total     13,300,000 21,000,000.0
Interest Expense, Debt, Total     2,200,000 3,200,000
Amortization of Debt Discount (Premium)     $ 700,000 $ 900,000
Debt Instrument, Interest Rate, Effective Percentage     13.15% 13.15%
Loan Agreement with Oxford Finance LLC [Member] | London Interbank Offered Rate (LIBOR) [Member]        
Debt Instrument, Basis Spread on Variable Rate   6.75%