v3.8.0.1
Employee benefit plan (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Employee benefit plan      
Credited service for vesting 4 years 4 years  
Employer contributions made to the plan $ 891 $ 819 $ 511