XML 102 R81.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income Taxes (Details 1) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Components of income before income taxes      
U.S. $ (25,645) $ 11,526 $ (18,867)
Foreign 5,120 9,855 7,303
Income (loss) before income taxes $ (20,525) $ 21,381 $ (11,564)