v3.20.1

Summary of business and significant accounting policies - Intangible Assets (Details) | 12 Months Ended
--- | ---
Jan. 31, 2020
Computer Software And Capitalized Software Development Costs |
Acquired Finite-Lived Intangible Assets [Line Items] |
Useful life of intangible assets | 3 years
Developed technology |
Acquired Finite-Lived Intangible Assets [Line Items] |
Useful life of intangible assets | 3 years
Acquired HSA Intangible Assets |
Acquired Finite-Lived Intangible Assets [Line Items] |
Useful life of intangible assets | 15 years
Minimum | 401(k) Customer Relationships |
Acquired Finite-Lived Intangible Assets [Line Items] |
Useful life of intangible assets | 10 years
Minimum | Developed technology |
Acquired Finite-Lived Intangible Assets [Line Items] |
Useful life of intangible assets | 2 years
Maximum | 401(k) Customer Relationships |
Acquired Finite-Lived Intangible Assets [Line Items] |
Useful life of intangible assets | 15 years
Maximum | Developed technology |
Acquired Finite-Lived Intangible Assets [Line Items] |
Useful life of intangible assets | 5 years

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 Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=hqy_ComputerSoftwareAndCapitalizedSoftwareDevelopmentCostsMember
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=hqy_AcquiredHSAIntangibleAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |