v3.25.2
Equity (Details Narrative) - USD ($)
1 Months Ended 2 Months Ended 12 Months Ended
Mar. 01, 2025
Feb. 28, 2025
Sep. 30, 2025
Apr. 30, 2025
Jul. 31, 2024
Jun. 30, 2024
Mar. 31, 2024
Jan. 31, 2024
Aug. 31, 2024
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2023
Class of Stock [Line Items]                        
Cash dividend paid                   $ 5,550,000 $ 2,536,000
Share Repurchase Program, Remaining Authorized, Number of Shares                   4,200,000    
Executive Officer [Member]                        
Class of Stock [Line Items]                        
Performance bonus paid in cash stock                       $ 1,200,000
Class A and Class B Common Stock[Member]                        
Class of Stock [Line Items]                        
Cash dividend per share $ 0.06 $ 0.05         $ 0.05     $ 0.22 $ 0.10  
Cash dividend paid                   $ 5,600,000 $ 2,500,000  
Cash dividend payable per share     $ 0.06                  
Class A and Class B Common Stock[Member] | Dividend Declared [Member]                        
Class of Stock [Line Items]                        
Dividend payable date to be paid     Oct. 10, 2025                  
Dividend payable date of record day     Sep. 30, 2025                  
Class B Common Stock [Member]                        
Class of Stock [Line Items]                        
Share Repurchase Program, Authorized, Number of Shares                   8,000,000.0    
Class B common stock shares repurchased                   221,823 298,421 511,546
Aggregate purchase price of shares repurchased                   $ 10,100,000 $ 9,100,000 $ 13,100,000
Noncontrolling interest percent         0.09%         0.10% 0.09%  
Share based compensation                   $ 500,000 $ 500,000  
Class B Common Stock [Member] | NRS and DSU [Member]                        
Class of Stock [Line Items]                        
Tender offer NRS outstanding DSUs percentage           10.00%            
Sale of DSU number of DSU sold       209,317 199,687              
Sale of DSU number of DSU subject to option to purchase         199,687              
Sale of DSU and common stock number of DSU sold         10,000              
Sale of DSU and common stock number of DSU subject to option to purchase         10,000              
Common stock issued       17,584 13,042       12,094   13,042  
Cash paid for purchase of subsidiary DSU and shares of common stock       $ 100,000         $ 100,000      
Issuance of shares, value       $ 1,000,000.0         $ 1,000,000.0      
Increase decrease in additional paid in capital                   $ 33,000 $ 13,000  
Class B Common Stock [Member] | National Retail Solutions [Member]                        
Class of Stock [Line Items]                        
Sale of DSU and common stock number of shares of common stock sold       142,500 142,500              
Sale of DSU and common stock number of DSU subject to option to purchase         142,500              
Class B Common Stock [Member] | NRS [Member]                        
Class of Stock [Line Items]                        
Purchase of DSU and stock percentage of subsidiary equity purchase in transaction       0.20% 0.20%              
Class B Common Stock [Member] | Employees [Member]                        
Class of Stock [Line Items]                        
Class B common stock shares repurchased                   157,180 41,994 28,227
Aggregate purchase price of shares repurchased                   $ 7,700,000 $ 1,500,000 $ 800,000
Common Class B [Member]                        
Class of Stock [Line Items]                        
Common stock issued         28,177,000         28,528,000 28,177,000  
Common Class B [Member] | National Retail Solutions [Member]                        
Class of Stock [Line Items]                        
Increase decrease in additional paid in capital               $ 100,000        
Noncontrolling interest percentage               1.25%        
Exchange of outstanding shares percentage on diluted basis               1.21%        
Issuance of shares               192,433        
Common Class B [Member] | Executive Officer [Member]                        
Class of Stock [Line Items]                        
Issuance of shares, value                       $ 600,000
Issuance of shares                       24,543