Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Additional Information (Detail)

v3.23.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
Aug. 31, 2012
May 31, 2023
May 31, 2022
May 31, 2023
May 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           $ 0      
Number of share issued to option holder       0 0 0 10,000    
Options exercised         $ 0   $ 32,000    
Unrecognized compensation cost related to non-vested share-based compensation arrangements granted       $ 292,000   $ 292,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       $ 668,000   $ 668,000      
Weighted-average period           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] | Selling, General and Administrative Expenses [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share based compensation options fair value           $ 195,000 $ 58,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       22,500   22,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       $ 95,000   $ 95,000      
Weighted-average period           1 year 1 month 9 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           $ 37,000 $ 0    
Stock Option [Member] | Service-Based Vesting Condition Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares       0 52,500 113,000 52,500    
Weighted-average period           1 year 10 months 6 days      
Total fair value of shares vested           $ 316,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.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              
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.30                
Price per share 8.00                
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