v3.8.0.1
Income taxes - Uncertain tax positions (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Income taxes    
Uncertain tax positions $ 0 $ 380
Uncertain tax positions, reduction to deferred tax assets   84
Accrued interest, net of federal income tax benefits, and penalties   67
Reconciliation of unrecognized tax benefits    
Balance at the beginning of the year 313 313
Additions for current period tax positions 0 0
Reversals during the current period (313) 0
Balance at the end of the year $ 0 $ 313