XML 54 R42.htm IDEA: XBRL DOCUMENT v3.22.2.2
Shareholders' Equity - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2022
Jul. 31, 2021
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 $ 49,996 $ 144 $ 118,684 $ 7,562    
Employee Stock            
Equity, Class of Treasury Stock [Line Items]            
Stock repurchased and retired during period shares     245,512 222,531    
Stock repurchased and retired during period, total cost     $ 6,668 $ 7,562