XML 16 R5.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Statement of Comprehensive Income [Abstract]        
Net income $ 32,764 $ 10,589 $ (32,415) $ 4,876
Other comprehensive income (loss)        
Change in net unrealized gain (loss) on investments, net of tax 375 6,831 (1,519) 3,564
Change in foreign currency translation adjustments, net of tax (107) 381 (981) (618)
Other comprehensive income (loss) 268 7,212 (2,500) 2,946
Total comprehensive income (loss) $ 33,032 $ 17,801 $ (34,915) $ 7,822