XML 17 R6.htm IDEA: XBRL DOCUMENT v3.19.2
Condensed Consolidated Statements of Comprehensive Income (Loss) (Unaudited) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2019
Jun. 30, 2018
Statement Of Income And Comprehensive Income [Abstract]        
Net income (loss) $ 116,003 $ (23,421) $ 70,592 $ (64,817)
Other comprehensive income (loss):        
Foreign currency translation adjustments (180) 958 111 431
Available-for-sale investments:        
Unrealized gain on investments, net of tax effect 655 53 1,097 3
Other comprehensive income, net of taxes 475 1,011 1,208 434
Comprehensive income (loss) $ 116,478 $ (22,410) $ 71,800 $ (64,383)