XML 15 R5.htm IDEA: XBRL DOCUMENT v3.22.0.1
Condensed Consolidated Statements of Comprehensive Income (Loss) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2022
Jan. 31, 2021
Jan. 31, 2022
Jan. 31, 2021
Statement of Comprehensive Income [Abstract]        
Net income (loss) $ (40,681) $ (8,652) $ (91,957) $ (28,842)
Foreign currency translation adjustments (2,363) 2,726 (3,087) 2,032
Unrealized gains (losses) on available-for-sale securities (2,537) (1,210) (3,655) (3,049)
Tax benefit (expense) on unrealized gains (losses) on available-for-sale securities 603 214 854 573
Reclassification adjustment for realized gains (losses) included in net income (loss) 23 320 92 667
Total other comprehensive income (loss) (4,274) 2,050 (5,796) 223
Comprehensive income (loss) $ (44,955) $ (6,602) $ (97,753) $ (28,619)