Income taxes (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | |
|---|---|---|---|
Jun. 30, 2017 |
Jun. 30, 2017 |
Dec. 31, 2016 |
|
| Income Taxes | |||
| Income tax expense | $ 64 | $ 111 | |
| Effective income tax rate before adjustments (as a percent) | 37.00% | ||
| Unrecognized tax benefits | 5,200 | $ 5,200 | $ 4,300 |
| Interest and penalties accrued | $ 0 | $ 0 |
| X | ||||||||||
- Definition Represents the effective income tax rate before research and development credits and permanent adjustments. No definition available.
|
| 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/presentationRef
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount accrued for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|