CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) - 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 income $ 8,777 $ 4,072 $ 18,929 $ 15,070
Foreign currency translation adjustment 9,096 (15,272) 11,599 (18,985)
Comprehensive income (loss) $ 17,873 $ (11,200) $ 30,528 $ (3,915)