v3.8.0.1
Summary of significant accounting policies - Advertising, marketing and promotion costs (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Advertising, marketing and promotion costs      
Capitalized advertising production costs $ 0 $ 0 $ 0
Advertising expenses $ 2,245 $ 1,925 $ 1,703