v3.26.1
Note 13 - Stock-based Compensation and Purchase Plans (Details Textual) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Apr. 01, 2017
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Share-based Compensation Continuing Operations   $ 8,821 $ 8,691 $ 9,811
Deferred Tax Expense from Stock Options Exercised   $ 1,000 $ 1,400 $ 2,200
Common Stock, Capital Shares Reserved for Future Issuance (in shares)   604,342    
Stock Issued During Period, Shares, Employee Stock Purchase Plans (in shares)   82,286 109,425 222,769
Executive Compensation Plan [Member]        
Share-based Compensation Continuing Operations   $ 400 $ 1,600 $ 900
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount   $ 100    
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition (Year)   1 year 9 months 18 days    
Percent of Participants Annual Incentive Compensation Participants May Elect to Defer Maximum   50.00%    
Share-Based Compensation Arrangement by Share-Based Payment Award, Discount from Market Price, Offering Date   25.00%    
Expiration of Restrictions on Units (Year)   3 years    
Executive Compensation Plan [Member] | Minimum [Member]        
Shares of Common Stock Issued Determined by Adjustment of Target Range Percent   50.00%    
Executive Compensation Plan [Member] | Maximum [Member]        
Shares of Common Stock Issued Determined by Adjustment of Target Range Percent   250.00%    
Employee Stock Purchase Plan [Member]        
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount   $ 5,000    
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition (Year)   1 year 10 months 2 days    
Share-based Compensation Arrangement by Share-based Payment Award, Discount from Market Price, Purchase Date 15.00%      
Percent of Fair Market Value at Which Employees May Purchase Shares of Stock 85.00%      
Stock Reserved for Employee Stock Purchase Plan (in shares)   30,550    
Stock Issued During Period, Shares, Employee Stock Purchase Plans (in shares)   3,291 4,393 3,778
Stock Issued During Period Average Price (in dollars per share)   $ 217.14 $ 143.52 $ 137.38
Restricted Stock [Member]        
Share-based Compensation Continuing Operations   $ 6,400 $ 5,200 $ 6,000
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value (in dollars per share)   $ 216.94 $ 177.17 $ 151.99
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value   $ 9,700 $ 6,000 $ 9,000
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount   $ 3,900    
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition (Year)   1 year 6 months    
Restricted Stock [Member] | Executive Compensation Plan [Member]        
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value (in dollars per share)   $ 117.36 $ 148.03 $ 81.41
Performance Stock Units [Member]        
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value (in dollars per share)   $ 210.92    
Performance Stock Units [Member] | Executive Compensation Plan [Member]        
Share-based Compensation Continuing Operations   $ 1,900 $ 1,900 $ 2,900
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value (in dollars per share)   $ 148.03 $ 81.41  
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value   $ 3,600 $ 7,900 $ 21,400