XML 17 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 Income And Comprehensive Income [Abstract]        
Net income (loss) $ 127,262 $ 34,400 $ 180,809 $ (104,042)
Other comprehensive income (loss):        
Foreign currency translation (1,394) 11,765 4,028 (852)
Change in unrealized gains (losses) on marketable securities, net of tax 47 (43) 4 (347)
Total other comprehensive income (loss) (1,347) 11,722 4,032 (1,199)
Comprehensive income (loss) $ 125,915 $ 46,122 $ 184,841 $ (105,241)