Condensed Consolidated Statements of Comprehensive Loss Statement - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Statement of Comprehensive Income [Abstract]        
Net loss $ (42,522) $ (47,522) $ (97,169) $ (93,100)
Other comprehensive loss:        
Foreign currency translation, net (6,384) 319 (7,208) (2,043)
Comprehensive loss $ (48,906) $ (47,203) $ (104,377) $ (95,143)