Note 14 - Stockholders' Equity (Details Textual) $ / shares in Units, $ in Thousands | Oct. 29, 2021USD ($)$ / sharesshares | Oct. 27, 2020shares | Mar. 06, 2020shares | Mar. 31, 2020shares | Dec. 31, 2021USD ($)$ / sharesshares | Jun. 30, 2021USD ($)shares | Dec. 31, 2020USD ($)$ / sharesshares | Sep. 30, 2020USD ($)$ / sharesshares | Jun. 30, 2020USD ($)shares | Mar. 31, 2020USD ($)shares | Sep. 30, 2019USD ($)$ / sharesshares | Jun. 30, 2019USD ($)$ / sharesshares | Dec. 31, 2015$ / sharesshares | Mar. 31, 2015$ / sharesshares | Sep. 30, 2011$ / sharesshares | Dec. 31, 2021USD ($)$ / sharesshares | Dec. 31, 2020USD ($)$ / sharesshares | Dec. 31, 2019USD ($) | Jan. 31, 2022shares | Nov. 02, 2021USD ($) | Jan. 15, 2021$ / sharesshares | Aug. 13, 2019USD ($) | May 31, 2019$ / shares | Feb. 29, 2016$ / shares | Oct. 31, 2015$ / shares |
Preferred Stock, Shares Authorized (in shares) | | | | | 5,000,000 | | 5,000,000 | | | | | | | | | 5,000,000 | 5,000,000 | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | $ 1.63 | | $ 1.63 | | | | | | | | | $ 1.63 | $ 1.63 | | | | | | | | |
Common Stock, Shares Authorized (in shares) | | | | | 100,000,000 | | 75,000,000 | | | | | | | | | 100,000,000 | 75,000,000 | | | | | | | | |
Adjustments to Additional Paid in Capital, Beneficial Conversion Feature Upon Issuance of Stock | $ | | | | | | | | | | | | | | | | $ 735 | | | | | | | | | |
Payments of Stock Issuance Costs | $ | | | | | | | | $ 200 | | | | | | | | | | | | | | | | | |
Preferred Stock, Shares Outstanding, Ending Balance (in shares) | | | | | 14,000 | | 0 | | | | | | | | | 14,000 | 0 | | | | | | | | |
Proceeds from Issuance of Common Stock | $ | | | | | | | | | | | | | | | | $ 1,776 | $ 5,220 | $ 6,698 | | | | | | | |
Class of Warrant or Right, Issued During Period (in shares) | | | | | | | | | | | | | | | | 15,000 | | | | | | | | | |
Class of Warrant or Right, Outstanding (in shares) | | | | | 7,082,000 | | 7,067,000 | | | | | | | | | 7,082,000 | 7,067,000 | | | | | | | | |
Proceeds from Warrant Exercises | $ | | | | | | | | 6,800 | | | | | | | | $ 0 | $ 7,098 | $ 67 | | | | | | | |
China Kington [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Payments of Stock Issuance Costs | $ | | | | | | | | $ 200 | | | | | | | | | | | | | | | | | |
Ladenburg Thalmann and Co. Inc. [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Payments of Stock Issuance Costs | $ | | | | | | | | | | | $ 300 | | | | | | | | | | | | | | |
Private Placement, Commission Percentage | | | | | | | | | | | 6.00% | | | | | | | | | | | | | | |
Payments of Stock Issuance Costs, Reimbursement of Expenses | $ | | | | | | | | | | | $ 60 | | | | | | | | | | | | | | |
Payments of Stock Issuance Costs, Other | $ | | | | | | | | | | | $ 300 | | | | | | | | | | | | | | |
Subsequent Event [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Common Stock, Shares Authorized (in shares) | | | | | | | | | | | | | | | | | | | 150,000,000 | | | | | | |
The 2021 Warrants [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) | 37,500,000 | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | $ 0.53 | | | | | | | | | | | | | | | | | | | | | | | | |
Warrants and Rights Outstanding | $ | | | | | $ 9,600 | | | | | | | | | | | $ 9,600 | | | | $ 14,200 | | | | | |
The July 2011 Warrants [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) | | | | | | | | | | | | | | | 139,520 | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | | | | | | | | | | | $ 33.25 | | | | | | | | $ 0.2061 | $ 1.81 | $ 5 |
Class of Warrant or Right, Issued During Period (in shares) | | | | | | | | | | | | | | | 139,520 | | | | | | | | | | |
Class of Warrant or Right, Expired During Period (in shares) | | | 35,107 | 35,107 | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Outstanding (in shares) | | | | | 0 | | 0 | | | | | | | | | 0 | 0 | | | | | | | | |
March 2015 Short-term and Long-term Warrants [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) | | | | | | | | | | | | | | 649,133 | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | | | | | | | | | | | | | | | | | | | 0.2061 | 1.81 | $ 5 |
Class of Warrant or Right, Issued During Period (in shares) | | | | | | | | | | | | | | 649,133 | | | | | | | | | | | |
Class of Warrant or Right, Expired During Period (in shares) | | | | | | | | | | 7,419 | | | | | | | | | | | | | | | |
Class of Warrant or Right, Outstanding (in shares) | | | | | 0 | | | | | | | | | | | 0 | | | | | | | | | |
Class of Warrant or Right, Exercised During Period (in shares) | | | | | | | | | | 70,000 | | | | | | | | | | | | | | | |
Proceeds from Warrant Exercises | $ | | | | | | | | | | $ 14 | | | | | | | | | | | | | | | |
March 2015 Warrants [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | | | | | | | | | | $ 15 | | | | | | | | | | | |
March 2015 Warrants [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | | | | | | | | | | $ 16.25 | | | | | | | | | | | |
March 2015 Warrants Expiring March 6, 2020 [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Issued During Period (in shares) | | | | | | | | | | | | | | 278,200 | | | | | | | | | | | |
March 2015 Warrants Expiring June 6, 2015 [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Issued During Period (in shares) | | | | | | | | | | | | | | 370,933 | | | | | | | | | | | |
October 2015 Warrants [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) | | | | | | | | | | | | | 442,802 | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | | | | | | | | | $ 5 | | | | | | | | | | $ 0.2061 | $ 1.81 | |
Class of Warrant or Right, Issued During Period (in shares) | | | | | | | | | | | | | 442,802 | | | | | | | | | | | | |
Class of Warrant or Right, Expired During Period (in shares) | | 15,320 | | | | | | 15,320 | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Outstanding (in shares) | | | | | 0 | | 0 | | | | | | | | | 0 | 0 | | | | | | | | |
Class of Warrant or Right, Exercised During Period (in shares) | | | | | | | 22,680 | 22,680 | | | | | | | | | | | | | | | | | |
Proceeds from Warrant Exercises | $ | | | | | | | $ 5 | $ 5 | | | | | | | | | | | | | | | | | |
The June 2019 Warrants [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) | | | | | | | | | | | | 1,371,427 | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | | | | | | | | $ 0.87 | | | | | | | | | | | | | |
Class of Warrant or Right, Issued During Period (in shares) | | | | | | | | | | | | 1,371,427 | | | | | | | | | | | | | |
Class of Warrant or Right, Expired During Period (in shares) | | | | | | | | | 571,428 | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Outstanding (in shares) | | | | | 0 | | | | | | | | | | | 0 | | | | | | | | | |
Class of Warrant or Right, Exercised During Period (in shares) | | | | | | | | | 571,428 | 228,571 | | | | | | | | | | | | | | | |
Proceeds from Warrant Exercises | $ | | | | | | | | | $ 497 | $ 199 | | | | | | | | | | | | | | | |
Class of Warrant or Right Call Feature Minimum Stock Price (in dollars per share) | $ / shares | | | | | | | | | | | | $ 1 | | | | | | | | | | | | | |
The June 2019 Warrants [Member] | China Kington [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Payments for Commission, Exercise of Warrants | $ | | | | | | | | | $ 29 | $ 12 | | | | | | | | | | | | | | | |
Exercise of Warrants, Commission, Percent | | | | 6.00% | | | | | 6.00% | 6.00% | | | | | | | | | | | | | | | |
The 2019 Domestic Warrants [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) | | | | | | | | | | | 4,198,566 | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | | | | | | | $ 1.15 | | | | | | | | | | | | | | |
Warrants and Rights Outstanding | $ | | | | | | | $ 4,900 | | | | $ 3,100 | | | | | | $ 4,900 | | | | | $ 3,100 | | | |
Payments of Stock Issuance Costs Allocated to Warrants | $ | | | | | | | | | | | 200 | | | | | | | | | | | | | | |
Adjustments to Additional Paid in Capital, Stock Issued, Issuance Costs | $ | | | | | | | | | | | $ 300 | | | | | | | | | | | | | | |
Class of Warrant or Right, Issued During Period (in shares) | | | | | | | | | | | 4,198,566 | | | | | | | | | | | | | | |
Class of Warrant or Right, Outstanding (in shares) | | | | | 0 | | 0 | | | | | | | | | 0 | 0 | | | | | | | | |
The 2019 Ladenburg Warrants [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) | | | | | | | | | | | 167,942 | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | | | | $ 0.99 | | | $ 1.25 | | | | | | | | | | | | | | |
Warrants and Rights Outstanding | $ | | | | | | | $ 200 | | | | | | | | | | $ 200 | | | | | 100 | | | |
Payments of Stock Issuance Costs Allocated to Warrants | $ | | | | | | | | | | | $ 59 | | | | | | | | | | | | | | |
Adjustments to Additional Paid in Capital, Stock Issued, Issuance Costs | $ | | | | | | | | | | | $ 65 | | | | | | | | | | | | | | |
Class of Warrant or Right, Issued During Period (in shares) | | | | | | | | | | | 167,942 | | | | | | | | | | | | | | |
The 2019 Foreign Warrants [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | | | | $ 0.99 | | | | | | | | | | | | | | | | | |
Warrants and Rights Outstanding | $ | | | | | | | $ 4,200 | | | | | | | | | | $ 4,200 | | | | | $ 2,000 | | | |
Exercise of Warrants, Commission, Percent | | | | | | | | 6.00% | | | | | | | | | | | | | | | | | |
New Warrants [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) | | | | | | | | 6,898,566 | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | | | | $ 1.65 | | | | | | | | | | | | | | | | | |
Warrants and Rights Outstanding, Term (Year) | | | | | | | | 5 years 6 months | | | | | | | | | | | | | | | | | |
TLF Bio Innovation 2021 Warrants [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) | | | | | | | | | | | | | | | | | | | | | 15,000 | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | | | | | | | | | | | | | | | | | $ 0.6718 | | | | |
Warrants and Rights Outstanding, Term (Year) | | | | | | | | | | | | | | | | | | | | | 5 years | | | | |
Conversion of Series B Preferred Stock to Common Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Adjustments to Additional Paid in Capital, Beneficial Conversion Feature Upon Issuance of Stock | $ | | | | | $ 700 | | | | | | | | | | | | | | | | | | | | |
The 2021 Private Placement Program [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Payments of Stock Issuance Costs | $ | | | | | | | | | | | | | | | | $ 1,700 | | | | | | | | | |
Payments of Stock Issuance Costs Allocated to Warrants | $ | | | | | | | | | | | | | | | | 1,600 | | | | | | | | | |
The 2021 Private Placement Program [Member] | Conversion of Series B Preferred Stock to Common Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Convertible, Shares Issuable (in shares) | 37,500,000 | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Convertible, Conversion Price (in dollars per share) | $ / shares | $ 0.40 | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Convertible, Conversion Ratio | 2,500 | | | | | | | | | | | | | | | | | | | | | | | | |
Maximum Percentage of Common Stock Outstanding | 19.99% | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Convertible, Maximum Common Stock Shares Converted (in shares) | 8,984,178 | | | | | | | | | | | | | | | | | | | | | | | | |
ATM Program [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, New Issues (in shares) | | | | | | 2,672,000 | | | 5,836,792 | | | | | | | | | | | | | | | | |
Payments of Stock Issuance Costs | $ | | | | | | $ 100 | | | $ 400 | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Common Stock | $ | | | | | | $ 1,800 | | | $ 5,600 | | | | | | | | | | | | | | | | |
Private Placement [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Payments of Stock Issuance Costs | $ | | | | | | | | | | | | $ 27 | | | | | | | | | | | | | |
Private Placement [Member] | Three Accredited Investors [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, New Issues (in shares) | | | | | | | | | | | | 1,371,427 | | | | | | | | | | | | | |
Issuance of Stock and Warrants During the Period, Value | $ | | | | | | | | | | | | $ 2,400 | | | | | | | | | | | | | |
Private Placement [Member] | Xiao Rui Liu [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Issuance of Stock and Warrants During the Period, Value | $ | | | | | | | | | | | | 1,000 | | | | | | | | | | | | | |
Private Placement [Member] | Hai Dong Pang [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Issuance of Stock and Warrants During the Period, Value | $ | | | | | | | | | | | | 400 | | | | | | | | | | | | | |
Private Placement [Member] | Ping Huang [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Issuance of Stock and Warrants During the Period, Value | $ | | | | | | | | | | | | 1,000 | | | | | | | | | | | | | |
Private Placement [Member] | China Kington [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Payments of Stock Issuance Costs | $ | | | | | | | | | | | | $ 100 | | | | | | | | | | | | | |
Private Placement, Commission Percentage | | | | | | | | | | | | 6.00% | | | | | | | | | | | | | |
August 2019 Common Stock Purchase Agreement [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, New Issues (in shares) | | | | | | | | | | | 4,198,566 | | | | | | | | | | | | | | |
Payments of Stock Issuance Costs | $ | | | | | | | | | | | $ 500 | | | | | | | | | | | | | | |
Proceeds from Issuance of Stock and Warrants | $ | | | | | | | | | | | $ 4,200 | | | | | | | | | | | | | | |
Series B Preferred Stock [Member] | The 2021 Private Placement Program [Member] | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, New Issues (in shares) | 15,000 | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Convertible, Shares Issuable (in shares) | 37,500,000 | | | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Preferred Stock and Preference Stock | $ | $ 14,900 | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Purchase Price (in dollars per share) | $ / shares | $ 1,000 | | | | | | | | | | | | | | | | | | | | | | | | |
Adjustments to Additional Paid in Capital, Stock Issued, Issuance Costs | $ | | | | | | | | | | | | | | | | $ 100 | | | | | | | | | |