Annual report pursuant to Section 13 and 15(d)

Valuation and qualifying accounts (Details)

v3.8.0.1
Valuation and qualifying accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Allowance for doubtful accounts      
Valuation and qualifying accounts      
Balance at the beginning of the year $ 1,158 $ 1,343 $ 1,667
Additions charged to earnings 1,475 208 305
Changes to net (1,577) (393) (629)
Balance at the end of the year 1,056 1,158 1,343
Valuation of deferred tax assets      
Valuation and qualifying accounts      
Balance at the beginning of the year 640 647 1,600
Changes to net 137 (7) (953)
Balance at the end of the year $ 777 $ 640 $ 647