Note 6 - Indebtedness (Details Textual) - USD ($) | Jan. 04, 2019 | May 16, 2018 | May 01, 2018 | Mar. 31, 2017 | Mar. 17, 2017 | Jan. 31, 2019 | Mar. 31, 2017 | Sep. 30, 2015 | Jan. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2013 | Oct. 26, 2012 |
Proceeds from Convertible Debt | | | | | | | | | | $ 1,329,000 | $ 3,059,000 | | |
Intrinsic Value of Convertible Debt with Conversion Feature | | | | | | | | | | 716,000 | 2,954,000 | | |
Debt Instrument, Convertible, Gross Proceeds from Sale of Equity Trigger | | $ 2,000,000 | | | | | | | | | | | |
Debt Instrument, Unamortized Discount, Total | | | | | | | | | | 1,300,000 | | | |
Induced Conversion of Convertible Debt Expense | | | | | | | | | | | 3,696,000 | | |
Amortization of Debt Issuance Costs | | | | | | | | | | $ 9,000 | 56,000 | | |
Institute [Member] | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | | 4.125% |
Debt Instrument, Face Amount | | | | | | | | | | | | | $ 300,000 |
Subsequent Event [Member] | | | | | | | | | | | | | |
Proceeds from Convertible Debt | | | | | | $ 800,000 | | | $ 2,200,000 | | | | |
Conversion from Debt to Common Stock [Member] | | | | | | | | | | | | | |
Debt Conversion, Original Debt, Amount | | 3,100,000 | | | | | | | | | | | |
Debt Conversion, Accrued Interest, Amount | | $ 183,000 | | | | | | | | | | | |
Debt Conversion, Converted Instrument, Shares Issued | | 104,463 | | | | | | | | | | | |
Debt Conversion, Converted Instrument, Units Issued | | 646,279 | | | | | | | | | | | |
Debt Instrument, Unamortized Discount, Total | | $ 121,000 | | | | | | | | | | | |
Debt Conversion, Common Stock Per Unit | | 1 | | | | | | | | | | | |
Debt Conversion, Class of Warrant or Right Issued Per Unit | | 1 | | | | | | | | | | | |
Conversion of 2013 Notes into Common Stock [Member] | | | | | | | | | | | | | |
Debt Conversion, Original Debt, Amount | | | | $ 2,750,000 | | | | | | | | | |
Debt Conversion, Converted Instrument, Shares Issued | | | | 385,000 | | | | | | | | | |
Debt Conversion, Original Debt, Amount of Accrued but Unpaid Interest | | | | $ 138,000 | | | | | | | | | |
Debt Conversion, Converted Instrument, Amount | | | | 11,500,000 | | | | | | | | | |
Debt Conversion, Converted Instrument, Initial Agreement Amount | | | | 8,500,000 | | | $ 8,500,000 | | | | | | |
Conversion of 2013 Notes into Common Stock by Stockholder [Member] | | | | | | | | | | | | | |
Debt Conversion, Original Debt, Amount | | | | $ 700,000 | | | | | | | | | |
Debt Conversion, Converted Instrument, Shares Issued | | | | 98,000 | | | | | | | | | |
Debt Conversion, Original Debt, Amount of Accrued but Unpaid Interest | | | | $ 35,000 | | | | | | | | | |
Conversion of Demand Notes into Common Stock [Member] | | | | | | | | | | | | | |
Debt Conversion, Original Debt, Amount | | | | $ 250,000 | | | | | | | | | |
Debt Conversion, Converted Instrument, Shares Issued | | | | 33,332 | | | | | | | | | |
Debt Conversion, Converted Instrument, Amount | | | | $ 1,000,000 | | | | | | | | | |
Debt Conversion, Conversion Price | | | | $ 7.50 | | | $ 7.50 | | | | | | |
Warrants In Connection with 2018 Convertible Notes Payable [Member] | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right | | | | | | | | | | 2 | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | | | | | | | | | | 762,076 | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | | | | | | | | | $ 4.50 | | | |
Warrants and Rights Outstanding, Term | | | | | | | | | | 5 years | | | |
Warrants Upon Issuance, Fair Value | | | | | | | | | | $ 1,700,000 | | | |
Warrants in Connection with Debt Conversion [Member] | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right | | 1 | | | | | | | | | | | |
Convertible Debt [Member] | | | | | | | | | | | | | |
Debt Instrument, Unamortized Discount, Total | | | | | | | | | | 1,290,000 | 1,567,000 | | |
Long-term Debt, Gross | | | | | | | | | | 1,359,000 | $ 3,101,000 | | |
The 2018 Notes [Member] | | | | | | | | | | | | | |
Proceeds from Convertible Debt | | | | | | | | | | 1,300,000 | | | |
Convertible Debt, Mandatory Conversion Threshold, Gross Proceeds from Sale of Equity Securities | | | | | | | | | | 6,000,000 | | | |
Class of Warrant or Right, Principal Amount of Every Amount Of Notes Purchased | | | | | | | | | | 3.50 | | | |
Intrinsic Value of Convertible Debt with Conversion Feature | | | | | | | | | | $ 600,000 | | | |
The 2018 Notes [Member] | Subsequent Event [Member] | | | | | | | | | | | | | |
Debt Instrument, Convertible, Conversion Price | | | | | | $ 3.50 | | | $ 3.50 | | | | |
Class of Warrant or Right, Principal Amount of Every Amount Of Notes Purchased | | | | | | $ 3.50 | | | $ 3.50 | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | | | | | $ 4.50 | | | $ 4.50 | | | | |
The 2018 Notes [Member] | Convertible Debt [Member] | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | 10.00% | | | |
Debt Instrument, Convertible, Conversion Price | | | | | | | | | | $ 3.50 | | | |
The 2017 Notes [Member] | | | | | | | | | | | | | |
Proceeds from Convertible Debt, Gross | | | | | $ 3,100,000 | | | | | | | | |
Unamortized Debt Discount Charged to Interest Expense | | $ 1,000,000 | | | | | | | | | | | |
The 2017 Notes [Member] | Convertible Debt [Member] | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | 5.00% | | | | | | | | |
Debt Instrument, Convertible, Conversion Price | | | | | $ 10.10 | | | | | | | | |
Debt Instrument, Qualified Financing, Minimum Proceeds | | | | | $ 2,000,000 | | | | | | | | |
Debt Instrument, Convertible, Beneficial Conversion Feature | | | | | $ 3,000,000 | | | | | | | | |
The 2013 Notes [Member] | | | | | | | | | | | | | |
Proceeds from Convertible Debt, Gross | | | | | | | | | | | | $ 3,100,000 | |
The 2013 Notes [Member] | Subsequent Event [Member] | | | | | | | | | | | | | |
Repayments of Debt | $ 25,000 | | | | | | | | | | | | |
The 2013 Notes [Member] | Convertible Debt [Member] | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | 5.00% | |
Debt Instrument, Convertible, Conversion Price | | | | $ 11.25 | | | 11.25 | | | | | $ 11.25 | |
Debt Instrument, Debt Default, Settlement Offer Conversion Rate | | | | | | | 7.50 | | | | | | |
Debt Instrument, Convertible, Conversion Price, Discount | | | | | | | $ 3.75 | | | | | | |
Debt Instrument, Convertible, Conversion Price, Discount rate | | | | 33.30% | | | 33.30% | | | | | | |
Induced Conversion of Convertible Debt Expense | | | | $ 3,000,000 | | | | | | | | | |
Demand Notes [Member] | Unsecured Debt [Member] | | | | | | | | | | | | | |
Induced Conversion of Convertible Debt Expense | | | | $ 700,000 | | | | | | | | | |
Notes Assumed | | | | | | | | $ 250,000 | | | | | |
Amended Unsecured Loan Agreement [Member] | Institute [Member] | | | | | | | | | | | | | |
Debt Instrument, Periodic Payment, Total | | | $ 10,000 | | | | | | | | | | |
Long-term Debt, Gross | | | | | | | | | | $ 286,000 | | | |