Earnings Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Basic and Diluted Earnings Per Share Calculations [Abstract]    
Net income (loss) $ 6,953 $ 6,572
Weighted average shares outstanding (in shares) 27,509 27,323
Effect of dilutive potential common shares (in shares) 293 544
Diluted weighted average shares outstanding (in shares) 27,802 27,867
Basic earnings per share (in dollars per share) $ 0.25 $ 0.24
Diluted earnings per share (in dollars per share) $ 0.25 $ 0.24