Note 12 - Stockholders' Equity (Details Textual) | Feb. 15, 2021shares | May 31, 2021USD ($)shares | Feb. 28, 2021USD ($)shares | Jun. 30, 2021USD ($)$ / sharesshares | Jun. 30, 2020shares | Jun. 30, 2021USD ($)$ / sharesshares | Jun. 30, 2020USD ($)shares |
Stock Issued During Period, Shares, Restricted Stock Award, Gross (in shares) | | | | | | 825,540 | |
Stock Issued During Period, Value, Warrant Exercised | $ | | | | $ 0 | | $ 0 | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period (in shares) | | | | | | 347,901 | |
Proceeds from Issuance of Common Stock | $ | | | | | | $ 9,331,000 | $ 0 |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in shares) | | | | 0 | 0 | 0 | 0 |
Restricted Stock Units (RSUs) [Member] | February 2021 [Member] | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period (in shares) | | | 25,000 | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Grant Date Fair Value | $ | | | $ 151,500 | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period (in shares) | | | | | | 0 | |
Restricted Stock Units (RSUs) [Member] | May 2021 [Member] | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period (in shares) | | 81,883 | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Grant Date Fair Value | $ | | $ 235,000 | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period (in shares) | | | | | | 13,648 | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period, Number of Installments | | 12 | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period (Year) | | 1 year | | | | | |
LiNiCo [Member] | | | | | | | |
Stock Issued During Period, Shares, Equity Method Invesment (in shares) | 375,000 | | | | | 375,000 | |
Board Members [Member] | | | | | | | |
Stock Issued During Period, Shares, Restricted Stock Award, Gross (in shares) | | | | | | 58,871 | |
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 | |
ATM [Member] | | | | | | | |
Stock Issued During Period, Shares, New Issues (in shares) | | | | | | 2,473,359 | |
Proceeds from Issuance of Common Stock | $ | | | | | | $ 9,300,000 | |