Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Additional Information (Detail)

v3.24.2
Stockholders' Equity - Additional Information (Detail) - USD ($)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Dec. 23, 2022
Apr. 08, 2022
May 30, 2012
May 31, 2024
May 31, 2023
May 31, 2024
May 31, 2023
Nov. 30, 2023
Mar. 26, 2024
Dec. 01, 2011
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Granted, Shares           103,000        
Weighted average grant date fair value of options granted           $ 3.13 $ 2.19      
Service-Based Vesting Condition Options [Member]                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Granted, Shares           103,000        
Exercised, Weighted Average Exercise Price           $ 0        
Number of share issued to option holder       0 0 0 0      
Unrecognized compensation cost related to non-vested share-based compensation arrangements granted       $ 324,000   $ 324,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       $ 276,000   $ 276,000        
Weighted-average period           8 months 19 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] | Selling, General and Administrative Expenses [Member]                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Share based compensation options fair value           $ 196,000 $ 195,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   17,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   198,578    
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       735,300   735,300        
2022 Equity Incentive Plan [Member] | Service Based Stock Options [Member]                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Granted, Shares           289,700   186,700    
2022 Equity Incentive Plan [Member] | Market Based Options [Member]                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Granted, Shares           475,000   475,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       $ 0   $ 0        
Weighted-average period           1 month 6 days        
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           $ 52,000 $ 37,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 103,000 11,300      
Weighted-average period           1 year 11 months 8 days        
Total fair value of shares vested           $ 288,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               $ 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