XML 18 R5.htm IDEA: XBRL DOCUMENT v3.7.0.1
Condensed Consolidated Statements of Comprehensive Loss (Unaudited) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Statement Of Income And Comprehensive Income [Abstract]        
Net (loss) income $ (19,400) $ 2,296 $ (41,211) $ (26,531)
Other comprehensive (loss) income, net of tax:        
Unrealized gain on marketable securities 25 69 2 220
Foreign currency translation adjustments 1,925 (619) 2,290 511
Comprehensive (loss) income $ (17,450) $ 1,746 $ (38,919) $ (25,800)