Income taxes (Details) - USD ($) |
3 Months Ended | 9 Months Ended | |||
---|---|---|---|---|---|
Sep. 30, 2017 |
Sep. 30, 2016 |
Sep. 30, 2017 |
Sep. 30, 2016 |
Dec. 31, 2016 |
|
Income Tax Disclosure [Abstract] | |||||
Deferred tax assets, valuation allowance | $ 12,000,000 | ||||
Provision (benefit) for income tax | $ (178,807) | $ 4,046,961 | $ (365,264) | $ 3,567,299 | |
Effective income tax rate | (21.50%) | 170.80% | (11.00%) | 91.60% |
X | ||||||||||
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Percentage 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 | ||||||||||
- 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
|