Note 1 - Summary of Significant Accounting Policies (Details Textual) | Jan. 01, 2018USD ($) | Jun. 30, 2017$ / sharesshares | Apr. 30, 2017USD ($)shares | Jan. 31, 2017USD ($)$ / sharesshares | Dec. 31, 2016USD ($)$ / sharesshares | Aug. 31, 2016USD ($)$ / sharesshares | Jul. 31, 2016USD ($)$ / sharesshares | Jun. 30, 2016USD ($)$ / sharesshares | May 31, 2016USD ($)$ / sharesshares | Apr. 30, 2016USD ($)$ / sharesshares | Mar. 31, 2016USD ($)$ / sharesshares | Dec. 31, 2017USD ($)shares | Dec. 31, 2016USD ($)$ / sharesshares | Mar. 31, 2017shares | Oct. 31, 2016$ / shares | Dec. 31, 2015USD ($) | Jul. 31, 2015USD ($)$ / shares |
Cash and Cash Equivalents, at Carrying Value | | | | | $ 851,000 | | | | | | | $ 4,779,000 | $ 851,000 | | | $ 916,000 | |
Working Capital Deficit | | | | | | | | | | | | 7,000,000,000 | | | | | |
Cash Burn Rate | | | | | | | | | | | | 618,000 | | | | | |
Share-based Compensation | | | | | | | | | | | | $ 465,000 | $ 697,000 | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross | shares | | | | | | | | | | | | 1,700,000 | 0 | | | | |
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount | shares | | | | | | | | | | | | 3,896,911 | 1,557,369 | | | | |
Cash, Uninsured Amount | | | | | | | | | | | | $ 4,600,000 | | | | | |
Proceeds from Related Party Debt | | | | | | | | | | | | | $ 5,505,000 | | | | |
Warrant Liabilities, Noncurrent | | | | | 5,307,000 | | | | | | | 30,000 | 5,307,000 | | | | |
Repayments of Convertible Debt | | | | | | | | | | | | 4,363,000 | | | | | |
Fair Value Adjustment of Warrants | | | | | | | | | | | | (1,778,000) | (2,093,000) | | | | |
Derivative, Gain (Loss) on Derivative, Net | | | | | | | | | | | | $ 132,000 | $ (5,800,000) | | | | |
Accounting Standards Update 2016-10 [Member] | Subsequent Event [Member] | | | | | | | | | | | | | | | | | |
New Accounting Pronouncement or Change in Accounting Principle, Effect of Change on Revenue | $ 1,800,000 | | | | | | | | | | | | | | | | |
Sales Revenue, Net [Member] | Customer Concentration Risk [Member] | | | | | | | | | | | | | | | | | |
Number of Major Customers | | | | | | | | | | | | 4 | 2 | | | | |
Sales Revenue, Net [Member] | Customer Concentration Risk [Member] | Four Customers [Member] | | | | | | | | | | | | | | | | | |
Concentration Risk, Percentage | | | | | | | | | | | | 90.00% | | | | | |
Sales Revenue, Net [Member] | Customer Concentration Risk [Member] | Two Customers [Member] | | | | | | | | | | | | | | | | | |
Concentration Risk, Percentage | | | | | | | | | | | | | 78.00% | | | | |
Accounts Receivable [Member] | Customer Concentration Risk [Member] | | | | | | | | | | | | | | | | | |
Number of Major Customers | | | | | | | | | | | | 4 | 2 | | | | |
Accounts Receivable [Member] | Customer Concentration Risk [Member] | Four Customers [Member] | | | | | | | | | | | | | | | | | |
Concentration Risk, Percentage | | | | | | | | | | | | 96.00% | | | | | |
Accounts Receivable [Member] | Customer Concentration Risk [Member] | Two Customers [Member] | | | | | | | | | | | | | | | | | |
Concentration Risk, Percentage | | | | | | | | | | | | | 81.00% | | | | |
Amended Warrants [Member] | | | | | | | | | | | | | | | | | |
Warrant Liabilities, Noncurrent | | | | | 5,300,000 | | | | | | | | $ 5,300,000 | | | | |
Class of Warrant or Right, Number of Additional Securities Called by Each Warrant or Right | shares | | | | | | | | | | | | | | 0.2 | | | |
Write-off of Warrant Liability | | | | | | | | | | | | $ 6,200,000 | | | | | |
Warrants Not Subject to Amendment [Member] | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares | | | | | | | | | | | | | | 11,049 | | | |
Warrants Issued for Services [Member] | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Issued During Period | shares | | 90,000 | | | | | | | | | | | | | | | |
Warrants Issued Weighted Average Exercise Price | $ / shares | | $ 5 | | | | | | | | | | | | | | | |
Director [Member] | | | | | | | | | | | | | | | | | |
Warrant Term | | | | | | 5 years | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares | | | | | | 145,833 | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | | $ 6.60 | | | | | | | | | | | |
Proceeds from Related Party Debt | | | | | | $ 2,800,000 | | | | | | | | | | | |
Investors [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Face Amount | | | | | $ 5,600,000 | | | | | | | | $ 5,600,000 | | | | |
Investors [Member] | December 2016 Warrants [Member] | | | | | | | | | | | | | | | | | |
Warrant Term | | | | | 5 years | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | $ 6.60 | | | | | | | | $ 6.60 | | | | |
Class of Warrant or Right, Percent of Securities Called by Warrants or Rights Upon Conversion | | | | | 40.00% | | | | | | | | 40.00% | | | | |
Class of Warrant or Right, Issued During Period | shares | | | | | 337,139 | | | | | | | | 337,139 | | | | |
Shamus [Member] | Shamus Warrants [Member] | | | | | | | | | | | | | | | | | |
Warrant Term | | | | | 5 years | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares | | | | 14,706 | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | $ 5.10 | | | | | | | | $ 5.10 | | | | |
Class of Warrant or Right, Percent of Securities Called by Warrants or Rights Upon Conversion | | | | 100.00% | 75.00% | | | | | | | | 75.00% | | | | |
Class of Warrant or Right, Issued During Period | shares | | | | | 44,118 | | | | | | | | | | | | |
Acuitas [Member] | December 2016 Warrants [Member] | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares | | | | 137,883 | | | | | | | | | | | | | |
Class of Warrant or Right, Percent of Securities Called by Warrants or Rights Upon Conversion | | | | | 25.00% | | | | | | | | 25.00% | | | | |
Class of Warrant or Right, Additional Percent of Securities Called by Warrants or Rights Upon Conversion | | | | 25.00% | | | | | | | | | | | | | |
Acuitas [Member] | Amended Warrants [Member] | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares | | | | | | | | | | | | | | 31,167 | | | |
Acuitas [Member] | January 2017 Warrants [Member] | | | | | | | | | | | | | | | | | |
Warrant Term | | | | 5 years | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | $ 5.10 | | | | | | | | | | | | | |
Class of Warrant or Right, Percent of Securities Called by Warrants or Rights Upon Conversion | | | | 100.00% | | | | | | | | | | | | | |
Acuitas [Member] | July 2015 Convertible Debenture [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | | | | | | 12.00% |
Debt Instrument, Face Amount | | | | | | | | | | | | | | | | | $ 3,550,000 |
Debt Instrument, Convertible, Conversion Price | $ / shares | | | | | | | | | | | | | | | $ 1.80 | | $ 11.40 |
Debt Conversion, Converted Instrument, Shares Issued | shares | | | 2,385,111 | | | | | | | | | | | | | | |
Acuitas [Member] | | | | | | | | | | | | | | | | | |
Warrant Term | | | | | | | 5 years | 5 years | 5 years | 5 years | 5 years | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares | | | | | | 338,005 | 71,970 | 60,606 | 51,136 | 33,333 | 75,000 | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | | $ 1.98 | $ 1.98 | $ 1.98 | $ 1.98 | $ 2.82 | $ 2.82 | | | | | | |
Class of Warrant or Right, Outstanding | shares | | | | | | | | | | 47,475 | 106,818 | | | | | | |
Acuitas [Member] | Exchange of Warrants [Member] | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares | | | | | | 498,927 | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | | $ 6.60 | | | | | | | | | | | |
Accredited Investor [Member] | Amended Warrants [Member] | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares | | | | | | | | | | | | | | 13,258 | | | |
April 2016 Promissory Note [Member] | Acuitas [Member] | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Debt | | | | | | | | | | $ 400,000 | | | | | | | |
Debt Instrument, Face Amount | | | | | | | | | | 1,300,000 | | | | | | | |
May 2016 Promissory Note [Member] | Acuitas [Member] | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Debt | | | | | | | | | $ 405,000 | | | | | | | | |
Debt Instrument, Face Amount | | | | | | | | | 1,700,000 | | | | | | | | |
June 2016 Promissory Notes [Member] | Acuitas [Member] | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Debt | | | | | | | $ 570,000 | $ 480,000 | | | | | | | | | |
Debt Instrument, Face Amount | | | | | | | 2,800,000 | 2,200,000 | | | | | | | | | |
Senior Promissory Note [Member] | Acuitas [Member] | Exchanged Senior Demand Notes [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Face Amount | | | | | $ 2,800,000 | $ 2,800,000 | | | | | | | $ 2,800,000 | | | | |
Debentures [Member] | Investors [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | 8.00% | 8.00% | | | | | | | 8.00% | | | | |
Warrant Term | | | | | 5 years | | | | | | | | | | | | |
Debt Instrument, Face Amount | | | | | | $ 5,600,000 | | | | | | | | | | | |
Debentures [Member] | Shamus [Member] | | | | | | | | | | | | | | | | | |
Warrant Term | | | | | | | | | | | | | 5 years | | | | |
December 2016 Convertible Debenture [Member] | Investors [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | 8.00% | | | | | | | | | | | | | | |
Repayments of Convertible Debt | | | $ 2,900,000 | | | | | | | | | | | | | | |
December 2016 Convertible Debenture [Member] | Shamus [Member] | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Debt | | | | | $ 300,000 | | | | | | | | $ 300,000 | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | 8.00% | | | | | | | | 8.00% | | | | |
January 2017 Convertible Debenture [Member] | Acuitas [Member] | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Debt | | | | $ 1,300,000 | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | 8.00% | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares | | | | 254,904 | | | | | | | | | | | | | |
Class of Warrant or Right, Issued During Period | shares | | | | 254,904 | | | | | | | | | | | | | |
Repayments of Convertible Debt | | | $ 1,300,000 | | | | | | | | | | | | | | |
Acuitas [Member] | March 2016 Promissory Note [Member] | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Debt | | | | | | | | | | | $ 900,000 | | | | | | |
Debt Instrument, Term | | | | | | | | | | | 30 days | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | 8.00% | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage After Maturity Date | | | | | | | | | | | 12.00% | | | | | | |
Debt Instrument, Face Amount | | | | | | | | | | | $ 900,000 | | | | | | |
Acuitas [Member] | April 2016 Promissory Note [Member] | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Debt | | | | | | | | | | 400,000 | | | | | | | |
Debt Instrument, Face Amount | | | | | | | | | | $ 1,300,000 | | | | | | | |
Acuitas [Member] | May 2016 Promissory Note [Member] | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Debt | | | | | | | | | 405,000 | | | | | | | | |
Debt Instrument, Face Amount | | | | | | | | | $ 1,700,000 | | | | | | | | |
Acuitas [Member] | June 2016 Promissory Notes [Member] | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Debt | | | | | | | 570,000 | 480,000 | | | | | | | | | |
Short-term Debt | | | | | | | $ 2,800,000 | $ 2,200,000 | | | | | | | | | |
Minimum [Member] | Furniture and Equipment [Member] | | | | | | | | | | | | | | | | | |
Property, Plant and Equipment, Useful Life | | | | | | | | | | | | 2 years | | | | | |
Minimum [Member] | Leasehold Improvements [Member] | | | | | | | | | | | | | | | | | |
Property, Plant and Equipment, Useful Life | | | | | | | | | | | | 5 years | | | | | |
Maximum [Member] | Furniture and Equipment [Member] | | | | | | | | | | | | | | | | | |
Property, Plant and Equipment, Useful Life | | | | | | | | | | | | 7 years | | | | | |
Maximum [Member] | Leasehold Improvements [Member] | | | | | | | | | | | | | | | | | |
Property, Plant and Equipment, Useful Life | | | | | | | | | | | | 7 years | | | | | |
The 2017 Stock Incentive Plan [Member] | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized | shares | | | | | | | | | | | | 2,333,334 | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period | | | | | | | | | | | | 10 years | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Number | shares | | | | | | | | | | | | 1,885,383 | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant | shares | | | | | | | | | | | | 691,804 | | | | | |
Share-based Compensation | | | | | | | | | | | | $ 465,000 | $ 697,000 | | | | |
The 2017 Stock Incentive Plan [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period | | | | | | | | | | | | 3 years | | | | | |
The 2017 Stock Incentive Plan [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period | | | | | | | | | | | | 5 years | | | | | |
The 2010 Stock Incentive Plan [Member] | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized | shares | | | | | | | | | | | | 243,853 | | | | | |