v3.20.1

Business combination - Acquired Intangible Assets (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jan. 31, 2020 | Jan. 31, 2019
Acquired Finite-Lived Intangible Assets [Line Items] |  |
Fair value | $ 7,659 | $ 1,195
In-process software development costs |  |
Acquired Finite-Lived Intangible Assets [Line Items] |  |
In-process software development costs | 3,800 |
Customer relationships |  |
Acquired Finite-Lived Intangible Assets [Line Items] |  |
Fair value | $ 598,500 |
Weighted-average remaining amortization period (years) | 15 years |
Developed technology |  |
Acquired Finite-Lived Intangible Assets [Line Items] |  |
Fair value | $ 96,900 |
Weighted-average remaining amortization period (years) | 4 years 6 months |
Trade names & trademarks |  |
Acquired Finite-Lived Intangible Assets [Line Items] |  |
Fair value | $ 12,300 |
Weighted-average remaining amortization period (years) | 3 years |
Identified intangible assets subject to amortization |  |
Acquired Finite-Lived Intangible Assets [Line Items] |  |
Fair value | $ 707,700 |
Weighted-average remaining amortization period (years) | 13 years 4 months 24 days |
WageWorks, Inc. |  |
Acquired Finite-Lived Intangible Assets [Line Items] |  |
Total acquired intangible assets | $ 711,500 |

X
- Definition Finite lived Intangible and Indefinite lived Intangible Assets Acquired + References No definition available. + Details
Name: | hqy_FiniteLivedIntangibleAndIndefiniteLivedIntangibleAssetsAcquired
Namespace Prefix: | hqy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average amortization period of finite-lived intangible assets acquired either individually or as part of a group of assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275 + Details
Name: | us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase in assets, excluding financial assets, lacking physical substance with a definite life, from an acquisition. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275 + Details
Name: | us-gaap_FinitelivedIntangibleAssetsAcquired1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase in assets, excluding financial assets and goodwill, lacking physical substance with an indefinite life, from an acquisition. + References No definition available. + Details
Name: | us-gaap_IndefinitelivedIntangibleAssetsAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_InProcessResearchAndDevelopmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_DevelopedTechnologyRightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TrademarksAndTradeNamesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=hqy_IdentifiedIntangibleAssetsSubjectToAmortizationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=hqy_WageWorksIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |