XML 21 R5.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 $ (96,692) $ (153,524) $ (81,177)
Other comprehensive income (loss):      
Net unrealized gain (loss) on available-for-sale investments, net of tax (533) 79 (226)
Net foreign currency translation gain (loss) 785 (272) (377)
Other comprehensive income (loss), net of tax 252 (193) (603)
Comprehensive loss $ (96,440) $ (153,717) $ (81,780)