Income taxes - Income tax by jurisdiction (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2018 |
Dec. 31, 2017 |
Dec. 31, 2016 |
|
| U.S. federal: | |||
| Current | $ 18 | $ (6) | $ 55 |
| Deferred | (4,569) | (2,787) | 345 |
| Total U.S. federal | (4,551) | (2,793) | 400 |
| U.S. state and local: | |||
| Current | 285 | 503 | 69 |
| Deferred | (1,048) | 212 | (42) |
| Total U.S. state and local | (763) | $ 715 | $ 27 |
| Foreign: | |||
| Current | 161 | ||
| Total foreign | 161 | ||
| Tax effect on the equity component of the Convertible Notes recorded as additional paid-in capital | $ 5,686 | ||
| X | ||||||||||
- Definition Amount of current federal tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of current foreign income tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of current state and local tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred federal income tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred state and local tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of current and deferred federal income tax expense (benefit) attributable to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of current and deferred foreign income tax expense (benefit) attributable to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of state and local current and deferred income tax expense (benefit) attributable to continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition The tax component of the adjustment to additional paid in capital resulting from the recognition of convertible debt instruments as two separate components - a debt component and an equity component. This bifurcation may result in a basis difference associated with the liability component that represents a temporary difference for purposes of applying accounting for income taxes. The initial recognition of deferred taxes for the tax effect of that temporary difference is as an adjustment to additional paid in capital. No definition available.
|