XML 20 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Condensed Consolidated Statements of Comprehensive Loss (Unaudited) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Statement Of Income And Comprehensive Income [Abstract]        
Net loss $ (37,737) $ (24,154) $ (104,081) $ (27,678)
Other comprehensive income (loss):        
Foreign currency translation adjustments (578) (184) (1,827) (446)
Available-for-sale investments:        
Unrealized gain on investments, net of tax effect 403 (144) 1,250 745
Reclassification from accumulated other comprehensive loss (47) 19 (72) 19
Net change in unrealized gain on available-for-sale investments 356 (125) 1,178 764
Other comprehensive income (loss), net of taxes (222) (309) (649) 318
Comprehensive loss $ (37,959) $ (24,463) $ (104,730) $ (27,360)