Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Additional Information (Detail)

v3.22.2
Stockholders' Equity - Additional Information (Detail) - USD ($)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Apr. 08, 2022
Feb. 27, 2020
Sep. 04, 2019
May 18, 2018
Dec. 20, 2019
Aug. 31, 2012
May 31, 2022
May 31, 2021
May 31, 2022
May 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 $ 17,000 0 $ 56,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.20      
Unrecognized compensation cost related to non-vested share-based compensation arrangements granted             348,000   $ 348,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             $ 1,058,000   $ 1,058,000      
Weighted-average period                 2 years 8 months 15 days      
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                 $ 58,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 $ 1,700    
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             45,000   45,000   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                 396,943   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             0 464,368 10,000 489,668    
Options exercised             $ 0 $ 875,000 $ 32,000 $ 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             52,500 20,000 52,500 20,000    
Weighted-average period                 2 years 1 month 9 days      
Total fair value of shares vested                 $ 81,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