Accumulated Other Comprehensive Income (Loss) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Changes in accumulated other comprehensive income/(loss) by component        
Balance at beginning of period     $ 231,183 $ 330,998
Net current period other comprehensive income/(loss) $ (51) $ 160 (17) 315
Balance at end of period 420,739 219,873 420,739 219,873
Accumulated Other Comprehensive Income (Loss)        
Changes in accumulated other comprehensive income/(loss) by component        
Balance at beginning of period     64 (537)
Other comprehensive income/(loss) before reclassification and tax     (22) 178
Tax impact     5 69
Reclassification adjustments, before tax       333
Tax impact       (127)
Net current period other comprehensive income/(loss)     (17) 315
Balance at end of period 47 (222) 47 (222)
Available-for-sale Securities        
Changes in accumulated other comprehensive income/(loss) by component        
Balance at beginning of period     51 (13)
Other comprehensive income/(loss) before reclassification and tax     17 75
Tax impact     (5) 29
Net current period other comprehensive income/(loss)     12 46
Balance at end of period 63 33 63 33
Cash Flow Hedges        
Changes in accumulated other comprehensive income/(loss) by component        
Balance at beginning of period       (462)
Other comprehensive income/(loss) before reclassification and tax       (17)
Tax impact       (6)
Reclassification adjustments, before tax       333
Tax impact       (127)
Net current period other comprehensive income/(loss)       195
Balance at end of period   (267)   (267)
Cumulative Translation Adjustment        
Changes in accumulated other comprehensive income/(loss) by component        
Balance at beginning of period     13 (62)
Other comprehensive income/(loss) before reclassification and tax     (39) 120
Tax impact     10 46
Net current period other comprehensive income/(loss)     (29) 74
Balance at end of period $ (16) $ 12 $ (16) $ 12