XML 50 R40.htm IDEA: XBRL DOCUMENT v3.23.1
Shareholders' Equity - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Jun. 04, 2019
Aug. 22, 2017
Equity, Class of Treasury Stock [Line Items]        
Common shares authorized for repurchase, shares     20,000,000 20,000,000
Remaining common shares authorized for repurchase, shares 19,156,390      
Stock repurchased and retired during period, total cost $ 7,850 $ 68,688    
Employee Stock        
Equity, Class of Treasury Stock [Line Items]        
Stock repurchased and retired during period shares 293,262 244,048    
Stock repurchased and retired during period, total cost $ 7,850 $ 6,636