CONSOLIDATED AND COMBINED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Statement of Comprehensive Income [Abstract]      
Net income (loss) $ (227,937) $ 26,648 $ 115,292
Other comprehensive income (loss):      
Foreign currency translation adjustment 18,310 2,453 (12,147)
Comprehensive income (loss) $ (209,627) $ 29,101 $ 103,145