Income taxes - Components of Income tax (Details) - USD ($) $ in Thousands |
3 Months Ended | 12 Months Ended | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Jan. 31, 2020 |
Oct. 31, 2019 |
Jul. 31, 2019 |
Apr. 30, 2019 |
Jan. 31, 2019 |
Oct. 31, 2018 |
Jul. 31, 2018 |
Apr. 30, 2018 |
Jan. 31, 2020 |
Jan. 31, 2019 |
Jan. 31, 2018 |
|
| Current: | |||||||||||
| Federal | $ (448) | $ 1,095 | $ 392 | ||||||||
| State | 274 | 416 | 130 | ||||||||
| Total current tax provision (benefit) | (174) | 1,511 | 522 | ||||||||
| Deferred: | |||||||||||
| Federal | 3,538 | 1,258 | 4,068 | ||||||||
| State | 127 | (850) | 237 | ||||||||
| Total deferred tax provision | 3,665 | 408 | 4,305 | ||||||||
| Total income tax provision | $ (417) | $ (9,918) | $ 4,370 | $ 9,456 | $ 3,241 | $ 1,745 | $ (1,029) | $ (2,038) | $ 3,491 | $ 1,919 | $ 4,827 |
| 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 income tax expense (benefit) pertaining to taxable 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 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 income tax expense (benefit) pertaining 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 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 income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|