XML 52 R42.htm IDEA: XBRL DOCUMENT v3.23.2
Shareholders' Equity - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2023
Jul. 31, 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   19,156,390      
Stock repurchased and retired during period, total cost $ 334 $ 49,996 $ 8,184 $ 118,684    
Employee Stock            
Equity, Class of Treasury Stock [Line Items]            
Stock repurchased and retired during period shares     303,579 245,512    
Stock repurchased and retired during period, total cost       $ 6,668