XML 18 R5.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Comprehensive Income (Loss) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Oct. 31, 2021
Oct. 31, 2020
Oct. 31, 2021
Oct. 31, 2020
Statement of Comprehensive Income [Abstract]        
Net income (loss) $ 43,412 $ (24,340) $ 102,626 $ (210,724)
Other comprehensive income (loss):        
Net change in foreign currency translation adjustment (361) (2) (1,362) 435
Net change in unrealized gains (losses) on available-for-sale debt securities (1,505) (2,578) (2,611) (332)
Net change in market value of effective foreign currency forward exchange contracts 25,389 3,044 38,316 (22,485)
Other comprehensive income (loss) 23,523 464 34,343 (22,382)
Comprehensive income (loss) $ 66,935 $ (23,876) $ 136,969 $ (233,106)