XML 125 R5.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Statement of Comprehensive Income [Abstract]      
Net income (loss) $ 375,446 $ (38,453) $ (62,813)
Net foreign currency translation adjustments 1,879 (4,496) 1,900
Net unrealized gain on revaluation of intercompany loans 75 303 385
Net unrealized gain (loss) on marketable debt securities 5,728 (542) (1,614)
Total comprehensive income (loss) $ 383,128 $ (43,188) $ (62,142)