v3.26.1
Stock-Based Compensation (Expenses) (Details) - USD ($)
3 Months Ended 9 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2026
Apr. 30, 2025
Jan. 31, 2026
Oct. 31, 2025
Jul. 31, 2025
Stock-based Compensation Expenses              
Stock-based compensation expense before CEO transition costs     $ 2,720,000 $ 2,520,000      
Stock-based compensation expense before income tax benefit $ 1,181,000 $ 1,195,000 2,720,000 2,520,000      
Estimated Income tax benefit 0 (252,000) 0 (516,000)      
Net stock-based compensation expense 1,181,000 943,000 2,720,000 2,004,000      
Total remaining unrecognized compensation cost related to the unvested stock-based awards 8,446,000   8,446,000        
Estimated forfeitures related to unvested stock-based awards 361,000   $ 361,000        
Weighted average number of years net compensation cost is expected to be recognized over     2 years        
Stock-based compensation capitalized and included in ending inventory 198,000   $ 198,000       $ 198,000
Stock options              
Stock-based Compensation Expenses              
Stock-based compensation expense before CEO transition costs $ 0 6,000 $ 0 26,000      
Number of stock-based awards outstanding at period end (in shares) 96,250   96,250   96,250 96,250 124,470
Performance shares              
Stock-based Compensation Expenses              
Stock-based compensation expense before CEO transition costs $ 277,000 384,000 $ 121,000 289,000      
RSUs and restricted stock              
Stock-based Compensation Expenses              
Stock-based compensation expense before CEO transition costs 893,000 794,000 2,574,000 2,165,000      
ESPP              
Stock-based Compensation Expenses              
Stock-based compensation expense before CEO transition costs $ 11,000 11,000 $ 25,000 40,000      
Discount offered to employees participating in the ESPP as a percentage of market price     15.00%        
2000 Stock Incentive Plan | Stock options              
Stock-based Compensation Expenses              
Number of stock-based awards outstanding at period end (in shares) 96,250   96,250        
Cost of sales              
Stock-based Compensation Expenses              
Stock-based compensation expense before CEO transition costs $ 51,000 99,000 $ 165,000 299,000      
Selling, general and administrative expenses              
Stock-based Compensation Expenses              
Stock-based compensation expense before CEO transition costs 1,089,000 1,033,000 2,445,000 2,033,000      
Research and development expenses              
Stock-based Compensation Expenses              
Stock-based compensation expense before CEO transition costs $ 41,000 $ 63,000 $ 110,000 $ 188,000