Note 8 - Stockholders' Equity (Details Textual) - USD ($) | Feb. 16, 2018 | Feb. 14, 2018 | Jul. 30, 2021 | Dec. 31, 2020 | Dec. 31, 2019 | Jan. 31, 2019 | Jun. 30, 2021 | Mar. 31, 2021 | Jun. 30, 2020 | Jun. 30, 2021 | Jun. 30, 2020 | Mar. 10, 2020 | Aug. 28, 2019 | Aug. 22, 2018 |
Preferred Stock, Shares Authorized (in shares) | | | | 5,000,000 | | | 5,000,000 | | | 5,000,000 | | | | |
Preferred Stock, Par or Stated Value Per Share (in dollars per share) | | | | $ 0.001 | | | $ 0.001 | | | $ 0.001 | | | | |
Preferred Stock, Shares Issued, Total (in shares) | | | | 52,369 | | | 52,276 | | | 52,276 | | | | |
Preferred Stock, Shares Outstanding, Ending Balance (in shares) | | | | 52,369 | | | 52,276 | | | 52,276 | | | | |
Proceeds from Issuance or Sale of Equity, Net | $ 15,500,000 | | | | | | | | | | | | | |
Common Stock, Shares Authorized (in shares) | | | | 100,000,000 | | | 100,000,000 | | | 100,000,000 | | | | |
Common Stock, Par or Stated Value Per Share (in dollars per share) | | | | $ 0.001 | | | $ 0.001 | | | $ 0.001 | | | | |
Common Stock, Shares, Issued, Total (in shares) | | | | 84,926,129 | | | 95,353,002 | | | 95,353,002 | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) | | | | 2,753,999 | | | 2,753,999 | | | 2,753,999 | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in shares) | | | | | | | | | | 0 | 0 | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period (in shares) | | | | | | | | | | 0 | 0 | | | |
Share-based Payment Arrangement, Expense | | | | | | | $ 303,000 | | $ 325,000 | $ 721,000 | $ 776,000 | | | |
Share-based Payment Arrangement, Expense, Tax Benefit | | | | | | | | | 0 | $ 0 | 0 | | | |
Share Price (in dollars per share) | | | | | | | $ 1.23 | | | $ 1.23 | | | | |
Share-based Payment Arrangement, Option [Member] | | | | | | | | | | | | | | |
Share-based Payment Arrangement, Expense | | | | | | | $ 0 | | 10,000 | $ 4,000 | 42,000 | | | |
Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total | | | | | | | 0 | | | 0 | | | | |
Share-based Payment Arrangement, Expense, Tax Benefit | | | | | | | 0 | | | | | | | |
Restricted Stock Units (RSUs) [Member] | | | | | | | | | | | | | | |
Share-based Payment Arrangement, Expense | | | | | | | 300,000 | | 300,000 | 700,000 | 700,000 | | | |
Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total | | | | | | | $ 500,000 | | | $ 500,000 | | | | |
Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition (Year) | | | | | | | | | | 9 months 18 days | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number, Ending Balance (in shares) | | | | 412,642 | | | 420,337 | | | 420,337 | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Fair Value | | | | | | | $ 500,000 | | | $ 500,000 | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value | | | | | | | | | | $ 88,000 | 1,200 | | | |
The 2015 Employee Stock Purchase Plan [Member] | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant (in shares) | | | | | | | 162,496 | | | 162,496 | | | | |
Officer and Director Share Purchase Plan [Member] | | | | | | | | | | | | | | |
Common Stock, Shares, Issued, Total (in shares) | | | | | | | 0 | | | 0 | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant (in shares) | | | | | | | 92,170 | | | 92,170 | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized (in shares) | | | | | | | | | | | | 125,000 | 40,000 | 20,000 |
Series B Financing Warrants [Member] | Subsequent Event [Member] | | | | | | | | | | | | | | |
Class Of Warrant Or Right Warrants Expired (in shares) | | | 1,083,091 | | | | | | | | | | | |
Conversion of Series B Preferred Stock into Common Stock [Member] | | | | | | | | | | | | | | |
Conversion of Stock, Shares Converted (in shares) | | | | | | | | 93 | | | | | | |
Conversion of Stock, Shares Issued (in shares) | | | | | | | | 372,000 | | | | | | |
Series A Preferred Stock [Member] | | | | | | | | | | | | | | |
Preferred Stock, Shares Outstanding, Ending Balance (in shares) | | | | | | | 52,191 | | | 52,191 | | | | |
Dividends, Preferred Stock, Total | | | | | | | $ 1,000,000 | | $ 967,000 | $ 2,100,000 | $ 1,900,000 | | | |
Series A Preferred Stock [Member] | CRG [Member] | | | | | | | | | | | | | | |
Preferred Stock Dividends, Shares (in shares) | | | | 3,866 | 3,580 | 2,945 | | | | | | | | |
Series B Preferred Stock [Member] | | | | | | | | | | | | | | |
Preferred Stock, Par or Stated Value Per Share (in dollars per share) | $ 0.001 | | | | | | | | | | | | | |
Preferred Stock, Shares Outstanding, Ending Balance (in shares) | | | | 178 | | | 85 | | | 85 | | | | |
Stock Issued During Period, Shares, New Issues (in shares) | 17,979 | | | | | | | | | | | | | |
Preferred Stock, Convertible, Conversion Price (in dollars per share) | | | | $ 0.25 | | | $ 0.25 | | | $ 0.25 | | | | |
Conversion of Principal Amount of Senior Secured Loan to Newly Authorized Series A Preferred Stock [Member] | Series A Preferred Stock [Member] | | | | | | | | | | | | | | |
Convertible Preferred Stock, Shares of Common Stock Issuable on Conversion (in shares) | | 2,090,000 | | | | | | | | | | | | |
Preferred Stock, Dividend Rate, Percentage | | 8.00% | | | | | | | | | | | | |
CRG [Member] | Conversion of Principal Amount of Senior Secured Loan to Newly Authorized Series A Preferred Stock [Member] | | | | | | | | | | | | | | |
Debt Conversion, Original Debt, Amount | | $ 38,000,000 | | | | | | | | | | | | |
Debt Conversion, Fees and Prepayment Premium Amount | | 3,800,000 | | | | | | | | | | | | |
Debt Conversion, Converted Instrument, Amount | | $ 41,800,000 | | | | | | | | | | | | |