Income taxes (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2018 |
Sep. 30, 2017 |
Sep. 30, 2018 |
Sep. 30, 2017 |
|
| Income taxes | ||||
| Income tax expense | $ 54 | $ 167 | $ 198 | $ 507 |
| Effective tax rate (as a percent) | 42.20% | 5.40% | 2200.00% | 2.90% |
| X | ||||||||||
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|