XML 27 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS - 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 $ (20,829) $ 47,663 $ (120,434) $ 85
Other comprehensive loss        
Foreign currency translation gain (loss) (3,320) (830) (11,373) (1,984)
Unrealized gain on investment securities, available for sale 11 (43) 17 14
Other comprehensive loss (3,309) (873) (11,356) (1,970)
Comprehensive gain (loss) $ (24,138) $ 46,790 $ (131,790) $ (1,885)