XML 19 R5.htm IDEA: XBRL DOCUMENT v3.21.2
UNAUDITED 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 (loss) $ 37,291 $ (20,740) $ 30,674 $ (46,112)
Other comprehensive income, net of tax        
Unrealized gain on available-for-sale securities 121 0 1,131 100
Foreign currency translation adjustments 1,461 2,028 731 1,514
Total other comprehensive income, net of tax 1,582 2,028 1,862 1,614
Comprehensive income (loss) $ 38,873 $ (18,712) $ 32,536 $ (44,498)