XML 16 R6.htm IDEA: XBRL DOCUMENT v3.7.0.1
Condensed Consolidated Statements of Comprehensive Income (Loss) (Unaudited) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Statement Of Income And Comprehensive Income [Abstract]        
Net income (loss) $ (33,183) $ 24,316 $ (66,344) $ (3,524)
Other comprehensive income (loss):        
Foreign currency translation adjustments (994) 380 (1,249) (262)
Available-for-sale investments:        
Unrealized gain on investments, net of tax effect 654 300 832 889
Reclassification from accumulated other comprehensive loss (26) 0 (10) 0
Net change in unrealized gain on available-for-sale investments 628 300 822 889
Other comprehensive income (loss), net of taxes (366) 680 (427) 627
Comprehensive income (loss) $ (33,549) $ 24,996 $ (66,771) $ (2,897)