Note 14 - Stockholders' Equity (Details Textual) | | 1 Months Ended | 12 Months Ended |
Feb. 15, 2021 shares | Dec. 31, 2022 USD ($) $ / shares shares | Oct. 31, 2022 USD ($) shares | Aug. 31, 2022 USD ($) shares | Jul. 31, 2022 USD ($) shares | Jun. 30, 2022 USD ($) shares | May 31, 2022 USD ($) shares | Apr. 30, 2022 USD ($) shares | Feb. 28, 2022 USD ($) shares | Jan. 31, 2022 USD ($) shares | Dec. 31, 2021 USD ($) $ / shares shares | Oct. 31, 2021 USD ($) shares | Sep. 30, 2021 USD ($) shares | May 31, 2021 USD ($) shares | Feb. 28, 2021 USD ($) shares | Dec. 31, 2022 USD ($) $ / shares shares | Dec. 31, 2021 USD ($) $ / shares shares | Dec. 31, 2019 shares | Dec. 31, 2017 shares |
Common Stock, Shares Authorized (in shares) | | 200,000,000 | | | | | | | | | 200,000,000 | | | | | 200,000,000 | 200,000,000 | | |
Common Stock, Par or Stated Value Per Share (in dollars per share) | $ / shares | | $ 0.001 | | | | | | | | | $ 0.001 | | | | | $ 0.001 | $ 0.001 | | |
Stock Issued During Period, Value, Warrant Exercised | $ | | | | | | | | | | | | | | | | | $ 0 | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | 1.90 | | | | | | | | | | | | | | $ 1.90 | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period (in shares) | | | | | | | | | | | | | | | | 0 | 347,901 | | |
Proceeds from Issuance of Common Stock | $ | | | | | | | | | | | | | | | | $ 6,519,000 | $ 10,166,000 | | |
Class of Warrant or Right, Weighted Average Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | $ 1.90 | | | | | | | | | | | | | | $ 1.90 | | | |
Stock Options and Restricted Stock Units [Member] | | | | | | | | | | | | | | | | | | | |
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total | $ | | $ 4.5 | | | | | | | | | | | | | | $ 4.5 | | | |
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition (Year) | | | | | | | | | | | | | | | | 2 years 3 months 18 days | | | |
Restricted Stock Units (RSUs) [Member] | | | | | | | | | | | | | | | | | | | |
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period (in shares) | | | 28,223 | 10,537 | 143,708 | 12,121 | 182,293 | 9,615 | 47,933 | 44,780 | 1,652,517 | 4,673 | 12,111 | 81,883 | 25,000 | 3,691,202 | 1,803,172 | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Fair Value | $ | | | $ 21,308 | $ 10,000 | $ 120,000 | $ 10,000 | $ 175,000 | $ 10,000 | $ 50,000 | $ 50,000 | $ 2,420,000 | $ 10,000 | $ 25,000 | $ 235,000 | $ 151,500 | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period, Number of Installments | | | | | | | | | | | 6 | 6 | 6 | 12 | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period (Year) | | | | | | 3 years | 12 months | 3 years | 3 years | 3 years | 3 years | 3 years | 3 years | 1 year | | | | | |
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Vested | $ | | | | | | | | | | | | | | | | $ 2,400,000 | $ 6,900,000 | | |
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Outstanding | $ | | $ 8,000,000 | | | | | | | | | $ 6,500,000 | | | | | $ 8,000,000 | $ 6,500,000 | | |
Restricted Stock Units (RSUs) [Member] | Share-Based Payment Arrangement, Tranche One [Member] | | | | | | | | | | | | | | | | | | | |
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period (in shares) | | 27,739 | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Fair Value | $ | | $ 20,000 | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period, Number of Installments | | 3 | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period (Year) | | 3 years | | | | | | | | | | | | | | | | | |
Restricted Stock Units (RSUs) [Member] | Share-Based Payment Arrangement, Tranche Two [Member] | | | | | | | | | | | | | | | | | | | |
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period (in shares) | | 3,184,253 | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Fair Value | $ | | $ 2,368,682 | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period, Number of Installments | | | | | | | | | | | | | | | | 6 | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period (Year) | | | | | | | | | | | | | | | | 3 years | | | |
The 2014 Stock Incentive Plan [Member] | | | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized (in shares) | | | | | | | | | | | | | | | | | | | 2,113,637 |
The 2014 Stock Incentive Plan [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period (Year) | | | | | | | | | | | | | | | | | | | 10 years |
The 2019 Stock Incentive Plan [Member] | | | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized (in shares) | | | | | | | | | | | | | | | | | | 18,500,000 | |
The 2019 Stock Incentive Plan [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period (Year) | | | | | | | | | | | | | | | | | | 10 years | |
LiNiCo [Member] | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, Equity Method Invesment (in shares) | 375,000 | | | | | | | | | | | | | | | | 375,000 | | |
First Cashless Exercise of Warrant [Member] | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) | | | | | | | | | | | 10,350 | | | | | | 10,350 | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | | | | | | | $ 1.90 | | | | | | $ 1.90 | | |
Second Cashless Exercise of Warrant [Member] | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) | | | | | | | | | | | 86,778 | | | | | | 86,778 | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares | | | | | | | | | | | $ 1.90 | | | | | | $ 1.90 | | |
First Set of Common Stock Pursuant to Cashless Exercise of Warrant [Member] | | | | | | | | | | | | | | | | | | | |
Share Price (in dollars per share) | $ / shares | | | | | | | | | | | 3.95 | | | | | | $ 3.95 | | |
Stock Issued During Period, Value, Warrant Exercised | $ | | | | | | | | | | | | | | | | | $ 5,371 | | |
Second Set of Common Stock Pursuant to Cashless Exercise of Warrant [Member] | | | | | | | | | | | | | | | | | | | |
Share Price (in dollars per share) | $ / shares | | | | | | | | | | | $ 6.20 | | | | | | $ 6.20 | | |
Stock Issued During Period, Value, Warrant Exercised | $ | | | | | | | | | | | | | | | | | $ 60,219 | | |
Management and Employees [Member] | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, Restricted Stock Award, Gross (in shares) | | | | | | | | | | | | | | | | 2,150,467 | 2,005,258 | | |
Board Members [Member] | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, Restricted Stock Award, Gross (in shares) | | | | | | | | | | | | | | | | 125,264 | 109,138 | | |
Prior Company Executive [Member] | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, New Issues (in shares) | | | | | | | | | | | | | | | | | 57,170 | | |
ATM [Member] | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, New Issues (in shares) | | | | | | | | | | | | | | | | 6,742,069,000,000 | 2,995,430 | | |
Proceeds from Issuance of Common Stock | $ | | | | | | | | | | | | | | | | $ 6,500,000 | $ 10,200,000 | | |
Director [Member] | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, Issued for Services (in shares) | | | | | | | | | | | | | | | | 28,223 | | | |
Former Board Member [Member] | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, Issued for Services (in shares) | | | | | | | | | | | | | | | | 19,176 | | | |