Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Additional Information (Detail)

v3.7.0.1
Stockholders' Equity - Additional Information (Detail) - USD ($)
1 Months Ended 3 Months Ended 6 Months Ended
Apr. 15, 2016
May 31, 2012
May 31, 2017
Feb. 28, 2017
May 31, 2016
Feb. 29, 2016
May 31, 2017
May 31, 2016
Nov. 30, 2016
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares     0   169,729   0 169,729  
Shares granted during period             0    
Description on second amendment to employment agreement       The Amendment provides for the grant of shares of the Company's common stock based on certain performance measures being attained by the Company during fiscal year 2016. The Amendment states if Executive is employed by the Company on November 30, 2016, then no later than February 28, 2017, the Company will grant Executive up to 20,000 shares of restricted stock based on performance as set forth in the Amendment.          
Amended And Restated Employment Agreement [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Unrecognized compensation costs     $ 0       $ 0    
Second Amendment Agreement [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Unrecognized compensation costs     $ 0       $ 0    
David Portnoy [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Shares granted during period 186,487     183,145          
Mark Portnoy [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Shares granted during period 162,163     159,257          
Oleg Mikulinksy [Member] | Second Amendment Agreement [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Common stock for issuance pursuant to stock options or restricted stock       20,000          
Shares granted during period       19,620          
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     540,500       540,500   572,281
Shares issued under stock incentive plan     231,929       231,929    
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       1,500,000    
Shares issued under stock incentive plan     1,043,332       1,043,332    
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              
Selling, General and Administrative Expenses [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share based compensation vested period fair value       $ 1,252,000          
Selling, General and Administrative Expenses [Member] | Second Amendment Agreement [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share based compensation vested period fair value       $ 78,000          
Restricted Common Shares [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Unrecognized compensation cost related to non-vested share-based compensation arrangements granted     $ 362,000   $ 0   $ 362,000 $ 0  
Compensation cost recognized             $ 362,000    
Restricted Common Shares [Member] | David Portnoy [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Common stock for issuance pursuant to stock options or restricted stock     186,487       186,487    
Number of share issued to option holder           118,062      
Restricted Common Shares [Member] | Mark Portnoy [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Common stock for issuance pursuant to stock options or restricted stock     162,163       162,163    
Number of share issued to option holder           102,663      
Service-Based Vesting Condition Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares             0    
Stock option activity for options     1,110,229       1,110,229   1,142,010
Service-Based Vesting Condition Options [Member] | 2006 Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Unrecognized compensation cost related to non-vested share-based compensation arrangements granted     $ 91,000       $ 91,000    
Service-Based Vesting Condition Options [Member] | 2012 Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Unrecognized compensation cost related to non-vested share-based compensation arrangements granted     $ 91,000       $ 91,000    
Performance Shares [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares     0   0   0 0  
Market-Based Vesting Condition Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares     0   0   0 0  
Service Based Stock Options [Member] | 2012 Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares             569,729    
Service Based Restricted Shares [Member] | 2012 Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares             129,729    
Performance Based Options [Member] | 2012 Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares             640,970    
Market Based Options [Member] | 2012 Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted, Shares             116,240    
Performance and Market-Based Vesting Condition Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Stock option activity for options     0   0   0 0  
Employee Stock Incentive Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Unrecognized compensation cost related to non-vested share-based compensation arrangements granted     $ 62,000       $ 62,000    
Employee Stock Incentive Plan [Member] | 2012 Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share based compensation, percentage of vesting upon grant             33.30%    
Employee Stock Incentive Plan [Member] | 2012 Plan [Member] | December 1, 2016 [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share based compensation, percentage of vesting upon grant             33.30%    
Employee Stock Incentive Plan [Member] | 2012 Plan [Member] | November 30, 2017 [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share based compensation, percentage of vesting upon grant             33.30%    
Employee Stock Incentive Plan [Member] | 2012 Plan [Member] | David Portnoy [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Shares granted during period 70,270                
Employee Stock Incentive Plan [Member] | 2012 Plan [Member] | Mark Portnoy [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Shares granted during period 59,459                
Employee Stock Incentive Plan [Member] | Selling, General and Administrative Expenses [Member] | 2012 Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share based compensation vested period fair value             $ 182,000    
Stock Option [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Number of share issued to option holder     7,500       26,781    
Options exercised     $ 17,900   $ 0   $ 51,396 $ 0  
Stock Option [Member] | Service-Based Vesting Condition Options [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Weighted-average period             6 months 10 days    
Total fair value of shares vested             $ 45,000