XML 37 R6.htm IDEA: XBRL DOCUMENT v3.19.3
Condensed Consolidated Statements of Comprehensive Income (Loss) (Unaudited) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Sep. 30, 2019
Sep. 30, 2018
Statement Of Income And Comprehensive Income [Abstract]        
Net income (loss) $ (49,439) $ (42,556) $ 21,153 $ (107,373)
Other comprehensive income (loss):        
Foreign currency translation adjustments 623 72 734 503
Available-for-sale investments:        
Unrealized gain on investments, net of tax effect (385) (31) 712 (28)
Other comprehensive income, net of taxes 238 41 1,446 475
Comprehensive income (loss) $ (49,201) $ (42,515) $ 22,599 $ (106,898)