Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Additional Information (Detail)

v3.23.3
Stockholders' Equity - Additional Information (Detail) - USD ($)
1 Months Ended 3 Months Ended 9 Months Ended 12 Months Ended
Dec. 23, 2022
Apr. 08, 2022
Aug. 31, 2012
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2023
Aug. 31, 2022
Nov. 30, 2022
Dec. 01, 2011
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares           113,000      
Weighted average grant date fair value of options granted           $ 2.19 $ 4.56    
Service-Based Vesting Condition Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares           113,000      
Exercised, Weighted Average Exercise Price           $ 3.1      
Number of share issued to option holder       1,245 172,229 1,245 182,229    
Options exercised       $ 0 $ 519,274 $ 0 $ 551,274    
Unrecognized compensation cost related to non-vested share-based compensation arrangements granted       241,000   241,000      
Performance and Market-Based Vesting Condition Options [Member] | Selling, General and Administrative Expenses [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Unrecognized compensation cost related to non-vested share-based compensation arrangements granted       570,000   $ 570,000      
Weighted-average period           1 year 6 months      
Market Based Vesting Condition Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Weighted-average period   7 years              
Market Based Vesting Condition Options [Member] | Selling, General and Administrative Expenses [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share based compensation options fair value       $ 98,000 $ 98,000 $ 293,000 $ 156,000    
2006 Plan [Member] | Employee Stock Incentive Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Common stock for issuance pursuant to stock options or restricted stock       1,000,000   1,000,000      
Option issued       17,500   17,500   22,500  
Shares issued under stock incentive plan       0   0      
2012 Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Common stock for issuance pursuant to stock options or restricted stock                 1,500,000
Shares issued under stock incentive plan       0   0      
2012 Plan [Member] | Service Based Stock Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares           198,578   242,214  
2012 Plan [Member] | Service Based Restricted Shares [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares           129,729   129,729  
2012 Plan [Member] | Performance Based Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares           530,851   530,851  
2012 Plan [Member] | Market Based Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares           116,218   116,218  
2012 Plan [Member] | Employee Stock Incentive Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Increase in common stock reserved for issuance     2,500,000            
2022 Equity Incentive Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Common stock for issuance pursuant to stock options or restricted stock   1,500,000              
Shares issued under stock incentive plan       848,900   848,900      
2022 Equity Incentive Plan [Member] | Service Based Stock Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares           176,100   63,100  
2022 Equity Incentive Plan [Member] | Market Based Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares           475,000   400,000  
Employment Agreements [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Employee agreements period 2 years                
Employment Agreements [Member] | Performance and Market-Based Vesting Condition Options [Member] | Selling, General and Administrative Expenses [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Unrecognized compensation cost related to non-vested share-based compensation arrangements granted       $ 74,000   $ 74,000      
Weighted-average period           85 years      
Employment Agreements [Member] | Market Based Vesting Condition Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Weighted-average period 5 years                
Employment Agreements [Member] | Market Based Vesting Condition Options [Member] | Selling, General and Administrative Expenses [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share based compensation options fair value       $ 21,000   $ 59,000      
Stock Option [Member] | Service-Based Vesting Condition Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares       0 0 113,000 52,500    
Weighted-average period           1 year 9 months 3 days      
Total fair value of shares vested           $ 335,000      
Stock Option [Member] | Market Based Vesting Condition Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares   400,000              
Exercised, Weighted Average Exercise Price   $ 12.27              
Price per share   25              
Weighted average grant date fair value of options granted   $ 2.79              
Stock Option [Member] | Market Based Vesting Condition Options [Member] | David Portnoy [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares   280,000              
Stock Option [Member] | Market Based Vesting Condition Options [Member] | Mark Portnoy [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares   100,000              
Stock Option [Member] | Market Based Vesting Condition Options [Member] | Oleg Mikulinksy [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares   20,000              
Stock Option [Member] | Employment Agreements [Member] | Market Based Vesting Condition Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Exercised, Weighted Average Exercise Price $ 4.3                
Price per share 8                
Weighted average grant date fair value of options granted $ 1.76                
Stock Option [Member] | Employment Agreements [Member] | Market Based Vesting Condition Options [Member] | David Portnoy [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares 50,000                
Stock Option [Member] | Employment Agreements [Member] | Market Based Vesting Condition Options [Member] | Mark Portnoy [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares 25,000