Annual report pursuant to Section 13 and 15(d)

SHAREHOLDERS' EQUITY - Equity Compensation Plan (Details)

v3.23.3
SHAREHOLDERS' EQUITY - Equity Compensation Plan (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
Aug. 31, 2023
USD ($)
item
$ / shares
shares
Aug. 31, 2022
USD ($)
item
$ / shares
shares
Aug. 31, 2021
USD ($)
$ / shares
shares
Number of Options [Roll Forward]      
Exercised (in shares)   (6,000)  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]      
Share-based compensation expense | $ $ 539 $ 603  
Proceeds from option exercises | $   $ 34  
Exercised (in shares)   6,000  
Non-Employee Board Members [Member]      
Number of Options [Roll Forward]      
Granted (in shares) 0    
2014 Equity Plan [Member]      
Shareholders' Equity [Abstract]      
Shares reserved for issuance (in shares) 1,600,000    
Reserved shares of common stock for issuance (in shares) 964,378    
Shares issued (in shares) 718,500    
Shares available for grant (in shares) 567,800    
Options expired (in shares) 30,000 3,333  
Variable Assumptions Used in Fair Value Calculations [Abstract]      
Expected term 0 years 6 years  
Risk-free interest rate 0.00% 1.31%  
Expected volatility 0.00% 38.25%  
Expected dividend yield 0.00% 0.00%  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value | $ / shares $ 0 $ 5.16  
Number of Options [Roll Forward]      
Exercised (in shares) (119,500) (103,667)  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]      
Exercised (in shares) 119,500 103,667  
2014 Equity Plan [Member] | Minimum [Member]      
Variable Assumptions Used in Fair Value Calculations [Abstract]      
Expected term 5 years    
2014 Equity Plan [Member] | Maximum [Member]      
Variable Assumptions Used in Fair Value Calculations [Abstract]      
Expected term 10 years    
2014 Equity Plan [Member] | Executive Officer [Member]      
Variable Assumptions Used in Fair Value Calculations [Abstract]      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value | $ / shares   $ 5.16  
Number of Options [Roll Forward]      
Granted (in shares)   105,000  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]      
Vesting period   3 years  
Expiration period   10 years  
2014 Equity Plan [Member] | Non-Employee Board Members [Member]      
Number of Options [Roll Forward]      
Granted (in shares) 3,033 2,000  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]      
Number of board members | item 6 6  
Stock price (in dollars per share) | $ / shares $ 9.89 $ 13.23  
Share-based compensation expense | $ $ 200 $ 200  
2004 Incentive Plan [Member]      
Number of Options [Roll Forward]      
Outstanding, end of period (in shares) 0    
2004 Incentive Plan and 2014 Equity Plan [Member]      
Shareholders' Equity [Abstract]      
Shares issued (in shares) 63,877 46,012  
Variable Assumptions Used in Fair Value Calculations [Abstract]      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value | $ / shares $ 0 $ 5.16  
Number of Options [Roll Forward]      
Outstanding, beginning of period (in shares) 712,500 714,500  
Granted (in shares) 0 105,000  
Exercised (in shares) (119,500)    
Net settlement exercised (in shares)   (103,667)  
Forfeited or expired (in shares) (30,000) (3,333)  
Outstanding, end of period (in shares) 563,000 712,500 714,500
Options exercisable (in shares) 452,000    
Weighted Average Exercise Price [Roll Forward]      
Outstanding, beginning of period (in dollars per share) | $ / shares $ 8.75 $ 7.80  
Granted (in dollars per share) | $ / shares 0 13.37  
Exercised (in dollars per share) | $ / shares 0    
Net settlement exercised (in dollars per share) | $ / shares   6.87  
Forfeited or expired (in dollars per share) | $ / shares 0 10.45  
Outstanding, end of period (in dollars per share) | $ / shares 9.15 $ 8.75 $ 7.80
Options exercisable (in dollars per share) | $ / shares $ 8.71    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term 4 years 5 years 8 months 12 days 6 years 1 month 6 days
Weighted average remaining contractual term, options exercisable 5 years 1 month 6 days    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value | $ $ 1,221 $ 1,489 $ 5,107
Approximate aggregate intrinsic value, options exercisable | $ 1,100    
Share-based compensation expense | $ $ 500 $ 600  
Exercised (in shares) 119,500    
Options cancelled (in shares) 55,623 51,655  
2004 Incentive Plan and 2014 Equity Plan [Member] | Maximum [Member]      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]      
Proceeds from option exercises | $   $ 100