Annual report pursuant to Section 13 and 15(d)

SHAREHOLDERS' EQUITY - Equity Compensation Plan (Details)

v3.22.2.2
SHAREHOLDERS' EQUITY - Equity Compensation Plan (Details)
12 Months Ended
Aug. 31, 2022
USD ($)
item
$ / shares
shares
Aug. 31, 2021
USD ($)
item
$ / shares
shares
Aug. 31, 2020
USD ($)
$ / shares
shares
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]      
Share-based compensation expense | $ $ 603,000 $ 497,000  
Proceeds from option exercises | $ $ 34,000 $ 89,000  
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) 912,953    
Shares issued (in shares) 755,500    
Shares available for grant (in shares) 712,500    
Options expired (in shares) 3,333 0  
Variable Assumptions Used in Fair Value Calculations [Abstract]      
Expected term 6 years 7 years 1 month 9 days  
Risk-free interest rate 1.31% 0.68%  
Expected volatility 38.25% 40.01%  
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 $ 5.16 $ 3.78  
Number of Options [Roll Forward]      
Exercised (in shares) (103,667) (48,535)  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]      
Exercised (in shares) 103,667 48,535  
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    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]      
Proceeds from option exercises | $ $ 100,000    
2014 Equity Plan [Member] | Employees [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   $ 3.93  
Number of Options [Roll Forward]      
Granted (in shares)   85,000  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]      
Vesting period   5 years  
Expiration period   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 $ 3.37  
Number of Options [Roll Forward]      
Granted (in shares) 105,000 30,000  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]      
Vesting period 3 years 3 years  
Expiration period 10 years 10 years  
2014 Equity Plan [Member] | Non-Employee Board Members [Member]      
Number of Options [Roll Forward]      
Granted (in shares) 2,000 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 $ 13.23 $ 11.33  
Share-based compensation expense | $ $ 200,000 $ 100,000  
2004 Incentive Plan [Member]      
Number of Options [Roll Forward]      
Exercised (in shares) (6,000)    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]      
Exercised (in shares) 6,000    
2004 Incentive Plan and 2014 Equity Plan [Member]      
Shareholders' Equity [Abstract]      
Shares issued (in shares) 46,012 24,035  
Shares available for grant (in shares) 106,500    
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 $ 3.78  
Number of Options [Roll Forward]      
Outstanding, beginning of period (in shares) 714,500 661,500  
Granted (in shares) 105,000 115,000  
Exercised (in shares) (103,667) (24,500)  
Net settlement exercised (in shares)   (37,500)  
Forfeited or expired (in shares) (3,333)    
Outstanding, end of period (in shares) 712,500 714,500 661,500
Options exercisable (in shares) 479,502    
Weighted Average Exercise Price [Roll Forward]      
Outstanding, beginning of period (in dollars per share) | $ / shares $ 7.80 $ 7.23  
Granted (in dollars per share) | $ / shares 13.37 9.00  
Exercised (in dollars per share) | $ / shares 6.87 3.66  
Net settlement exercised (in dollars per share) | $ / shares   3.99  
Forfeited or expired (in dollars per share) | $ / shares 10.45    
Outstanding, end of period (in dollars per share) | $ / shares 8.75 $ 7.80 $ 7.23
Options exercisable (in dollars per share) | $ / shares $ 7.56    
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 5 years 8 months 12 days 6 years 1 month 6 days 6 years 2 months 12 days
Weighted average remaining contractual term, options exercisable 4 years 6 months    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value | $ $ 1,489 $ 5,107 $ 1,831
Approximate aggregate intrinsic value, options exercisable | $ $ 1,373    
Share-based compensation expense | $   500,000  
Proceeds from option exercises | $   $ 0  
Exercised (in shares) 103,667 24,500  
Options cancelled (in shares) 51,655 13,465