Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Additional Information (Detail)

v3.22.2.2
Stockholders' Equity - Additional Information (Detail) - USD ($)
1 Months Ended 3 Months Ended 9 Months Ended 12 Months Ended
Apr. 08, 2022
Feb. 27, 2020
Sep. 04, 2019
May 18, 2018
Dec. 20, 2019
Aug. 31, 2012
Aug. 31, 2022
Aug. 31, 2021
Aug. 31, 2022
Aug. 31, 2021
Nov. 30, 2021
Dec. 01, 2011
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                        
Granted, Shares                 52,500      
Weighted average grant date fair value of options granted                 $ 4.56 $ 4.56    
Plan modification description and terms                 The options were issued under the Company’s 2012 Stock Plan and vested 1/3 upon grant, 1/3 on December 1, 2020 and the remaining 1/3 on November 30, 2021.      
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             $ 0   $ 0      
Share based compensation options fair value             0 $ 29,000 0 $ 85,000    
David Portnoy [Member]                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                        
Granted, Shares         23,636              
Mark Portnoy [Member]                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                        
Granted, Shares         20,000              
Oleg Mikulinksy [Member]                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                        
Granted, Shares       8,000                
Unrecognized compensation cost related to non-vested share-based compensation arrangements granted             0   $ 0      
Service-Based Vesting Condition Options [Member]                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                        
Granted, Shares                 52,500      
Weighted average exercise price per share                 $ 3.03      
Unrecognized compensation cost related to non-vested share-based compensation arrangements granted             279,000   $ 279,000      
Performance and Market-Based Vesting Condition Options [Member]                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                        
Plan modification description and terms                 These options were issued under the Company’s 2012 Stock Plan and vested 1/3 upon date of grant, 1/3 on December 1, 2020 and 1/3 on November 30, 2021.      
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             $ 960,000   $ 960,000      
Weighted-average period                 2 years 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] | Share-based Compensation Award, Tranche Two [Member]                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                        
Shares forfeited during period   1,333 4,444                  
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                 $ 156,000      
Market Based Vesting Condition Options [Member] | September 4, 2019 Granted Options [Member] | Selling, General and Administrative Expenses [Member] | Share-based Compensation Award, Tranche Two [Member]                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                        
Share based compensation options fair value                 0 200    
Market Based Vesting Condition Options [Member] | February 27, 2020 Granted Options [Member] | Selling, General and Administrative Expenses [Member] | Share-based Compensation Award, Tranche Two [Member]                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                        
Share based compensation options fair value                 $ 0 $ 2,500    
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             22,500   22,500   75,000  
Shares issued under stock incentive plan             0   0      
Granted, Shares                 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                 243,964   460,943  
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            
Granted, Shares                 0      
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             1,047,500   1,047,500      
2022 Equity Incentive Plan [Member] | Service Based Stock Options [Member]                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                        
Granted, Shares                 52,500      
2022 Equity Incentive Plan [Member] | Market Based Options [Member]                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                        
Granted, Shares                 400,000      
Stock Option [Member]                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                        
Number of share issued to option holder             172,229 84,632 182,229 574,300    
Options exercised             $ 519,274 $ 0 $ 551,274 $ 1,066,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 52,500 20,000    
Weighted-average period                 1 year 11 months 19 days      
Total fair value of shares vested                 $ 109,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                 0    
Weighted average exercise price per share $ 12.27                      
Price per share 25.00                      
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