XML 18 R5.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Comprehensive Income (Loss) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Jul. 31, 2021
Jul. 31, 2020
Statement of Comprehensive Income [Abstract]        
Net income (loss) $ 105,736 $ (28,016) $ 59,214 $ (186,384)
Other comprehensive income (loss):        
Net change in foreign currency translation adjustment (1,219) 1,684 (1,001) 437
Net change in unrealized gains (losses) on available-for-sale debt securities (208) (728) (1,106) 2,246
Net change in market value of effective foreign currency forward exchange contracts 17,698 (57,836) 12,927 (25,529)
Other comprehensive income (loss) 16,271 (56,880) 10,820 (22,846)
Comprehensive income (loss) $ 122,007 $ (84,896) $ 70,034 $ (209,230)