XML 62 R51.htm IDEA: XBRL DOCUMENT v3.23.2
EARNINGS PER SHARE - Additional Information (Details)
3 Months Ended 9 Months Ended 12 Months Ended
Feb. 28, 2023
shares
Jun. 24, 2022
shares
Jul. 31, 2023
USD ($)
class_of_stock
$ / shares
Jul. 31, 2022
USD ($)
Jul. 31, 2023
USD ($)
class_of_stock
$ / shares
Jul. 31, 2022
USD ($)
May 26, 2023
USD ($)
shares
Jun. 23, 2022
USD ($)
Class of Stock [Line Items]                
Number of classes of stock | class_of_stock     2   2      
Stock repurchase program, authorized amount               $ 150,000,000
Percentage of expected share repurchases   80.00%            
Shares acquired (in shares) | shares 94,259              
Share repurchases     $ 4,300,000 $ 75,000,000.0 $ 63,900,000 $ 75,000,000.0    
Open Market Purchases                
Class of Stock [Line Items]                
Stock repurchase program, remaining authorized repurchase amount               75,000,000
Class A Common Stock                
Class of Stock [Line Items]                
Dividend proportions (in usd per share) | $ / shares     $ 0.01   $ 0.01      
Percentage of shares outstanding used in two class method calculation         40.00%      
Additional number of shares under accelerated share repurchase program (in shares) | shares   1,021,451            
Share repurchases             $ 25,000,000  
Repurchase of common stock (shares) | shares             406,343  
Class A Common Stock | Accelerated Share Repurchase Agreement                
Class of Stock [Line Items]                
Stock repurchase program, remaining authorized repurchase amount               $ 75,000,000
Class B Common Stock                
Class of Stock [Line Items]                
Dividend proportions (in usd per share) | $ / shares     $ 0.015   $ 0.015      
Percentage of shares outstanding used in two class method calculation         60.00%      
Share repurchases             $ 50,000,000  
Repurchase of common stock (shares) | shares             676,598