XML 59 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Comprehensive Loss - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Statement Of Income And Comprehensive Income [Abstract]      
Net loss $ (126,203) $ (61,680) $ (85,779)
Other comprehensive income (loss):      
Foreign currency translation adjustments (2,022) 532 1,662
Available-for-sale investments:      
Unrealized gain on investments, net of tax effect 1,259 140 30
Reclassification from accumulated other comprehensive loss (72) 19 (194)
Net change in unrealized gain on available-for-sale investments 1,187 159 (164)
Other comprehensive income (loss), net of taxes (835) 691 1,498
Comprehensive loss $ (127,038) $ (60,989) $ (84,281)