XML 16 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Condensed Consolidated Statements of Comprehensive Loss (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Statement Of Income And Comprehensive Income [Abstract]    
Net loss $ (41,396) $ (30,610)
Other comprehensive income (loss):    
Foreign currency translation adjustments (527) (255)
Available-for-sale investments:    
Unrealized gain (loss) on investments, net of tax effect (50) 179
Reclassification from accumulated other comprehensive loss 0 16
Net change in unrealized gain on available-for-sale investments (50) 195
Other comprehensive loss, net of taxes (577) (60)
Comprehensive loss $ (41,973) $ (30,670)