| Note 9 - Other Income (Expense) - Schedule of Components of Other Income (Expense) (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
| Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2016 | Dec. 31, 2015 | |
| Interest expense | $ (1,835) | $ (400) | $ (3,178) | $ (851) | 
| Interest income | 89 | 51 | 138 | 112 | 
| Other non-operating income (expense), net | (861) | (302) | (881) | 906 | 
| Other income (expense) | $ (2,607) | $ (651) | $ (3,921) | $ 167 | 
| X | ||||||||||
| 
- Definition Amount of the cost of borrowed funds accounted for as interest expense. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount after accretion (amortization) of discount (premium), and investment expense, of interest income and dividend income on nonoperating securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business). Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount of income (expense) related to nonoperating activities, classified as other. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 |