Note 11 - Income Taxes - Reconciliation of Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2020  | 
Jun. 30, 2019  | 
Jun. 30, 2018  | 
|
| Balance | $ 5,032 | $ 1,947 | $ 1,747 | 
| Additions due to acquisitions | 0 | 900 | 0 | 
| Additions for tax positions of current year | 306 | 2,185 | 35 | 
| Closure of tax years | (1,041) | 0 | 0 | 
| Tax reform | 0 | 0 | 165 | 
| Ending balances | $ 4,297 | $ 5,032 | $ 1,947 | 
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from closure of tax years. No definition available. 
  | 
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax reform. No definition available. 
  | 
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from acquisitions. No definition available. 
  | 
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  |