v3.25.2
Note 13 - Stock-based Compensation and Purchase Plans (Details Textual) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Apr. 01, 2017
Jul. 01, 2005
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Share-based Compensation Continuing Operations     $ 8,691 $ 9,811 $ 11,710
Deferred Tax Expense from Stock Options Exercised     $ 1,400 2,200 1,800
Common Stock, Capital Shares Reserved for Future Issuance (in shares)     168,537    
Stock Issued During Period, Shares, Employee Stock Purchase Plans (in shares)     109,425    
Executive Compensation Plan [Member]          
Share-based Compensation Continuing Operations     $ 1,600 $ 900 $ 200
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount     $ 400    
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition (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 Compensation Arrangement by Share-based Payment Award, Discount from Market Price, Purchase Date 15.00% 5.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)     33,841    
Stock Issued During Period, Shares, Employee Stock Purchase Plans (in shares)     4,393 3,778 6,256
Stock Issued During Period Average Price (in dollars per share)     $ 143.52 $ 137.38 $ 91.78
Restricted Stock [Member]          
Share-based Compensation Continuing Operations     $ 5,200 $ 6,000 $ 4,800
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)     $ 177.17 $ 151.99 $ 95.32
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value     $ 6,000 $ 9,000 $ 7,400
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount     $ 3,600    
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition (Year)     1 year 4 months 24 days    
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)     $ 148.03 $ 81.41 $ 98.36
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)     $ 148.03    
Performance Stock Units [Member] | Executive Compensation Plan [Member]          
Share-based Compensation Continuing Operations     $ 1,900 $ 2,900 $ 6,700
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)     $ 81.41 $ 89.44  
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value     $ 7,900 $ 21,400 $ 4,600
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount     $ 4,400    
Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition (Year)     10 months 24 days