Quarterly report pursuant to Section 13 or 15(d)

EMPLOYEE STOCK PLANS - Stock Option Activity (Details)

v3.23.2
EMPLOYEE STOCK PLANS - Stock Option Activity (Details) - USD ($)
3 Months Ended 9 Months Ended 12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2023
May 31, 2022
Aug. 31, 2022
Aug. 31, 2021
2014 Equity Plan [Member]            
Shareholders' Equity [Abstract]            
Shares reserved for issuance (in shares) 1,600,000   1,600,000      
Shares available for grant (in shares) 838,755   838,755   912,953  
2004 Incentive Plan and 2014 Equity Plan [Member]            
Number of Options [Roll Forward]            
Outstanding, beginning of period (in shares)     712,500 714,500 714,500  
Granted (in shares)       105,000    
Exercised (in shares) 0   0 (103,667)    
Forfeited or expired (in shares)       (3,333)    
Outstanding, end of period (in shares) 712,500 712,500 712,500 712,500 712,500 714,500
Options exercisable (in shares) 581,500   581,500      
Weighted Average Exercise Price [Roll Forward]            
Outstanding, beginning of period (in dollars per share)     $ 8.75 $ 7.80 $ 7.80  
Granted (in dollars per share)       13.37    
Exercised (in dollars per share)       6.87    
Forfeited or expired (in dollars per share)       10.45    
Outstanding, end of period (in dollars per share) $ 8.75 $ 8.75 8.75 $ 8.75 $ 8.75 $ 7.80
Options exercisable (in dollars per share) $ 8.17   $ 8.17      
Stock Options [Abstract]            
Weighted average remaining contractual term     5 years 6 years 3 months 18 days 5 years 8 months 12 days 6 years 1 month 6 days
Weighted average remaining contractual term, options exercisable     4 years 4 months 24 days      
Approximate aggregate intrinsic value, outstanding $ 1,226,000 $ 2,032,000 $ 1,226,000 $ 2,032,000 $ 1,489,000 $ 5,107,000
Approximate aggregate intrinsic value, options exercisable $ 1,182,000   $ 1,182,000      
Net Settlement Stock Options [Member] | 2014 Equity Plan [Member]            
Stock Options [Abstract]            
Shares issued (in shares)   22,123   46,012    
Options cancelled (in shares)   23,377   51,655    
Restricted Stock [Member] | 2014 Equity Plan [Member]            
Number of Options [Roll Forward]            
Exercised (in shares)   0   (6,000)    
Weighted Average Exercise Price [Roll Forward]            
Exercised (in dollars per share)   $ 5.66   $ 5.66