XML 15 R5.htm IDEA: XBRL DOCUMENT v3.22.2
CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE (LOSS) INCOME - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Statement of Comprehensive Income [Abstract]        
Net income (loss) $ 7,476 $ 32,764 $ 13,218 $ (32,415)
Other comprehensive (loss) income        
Change in net unrealized (loss) gain on investments, net of tax (2,333) 375 (15,250) (1,519)
Change in foreign currency translation adjustments, net of tax (29,613) (107) (48,284) (981)
Other comprehensive (loss) income (31,946) 268 (63,534) (2,500)
Total comprehensive (loss) income $ (24,470) $ 33,032 $ (50,316) $ (34,915)