v3.25.1

Employee benefits (Details) - USD ($) | 12 Months Ended
--- | ---
Jan. 31, 2025 | Jan. 31, 2024 | Jan. 31, 2023
Defined Contribution Plan Disclosure [Line Items] |  |  |
Maximum coverage per incident under self-insurance | $ 600,000 |  |
Accrued Compensation |  |  |
Defined Contribution Plan Disclosure [Line Items] |  |  |
Liability for self-insured medical claims | $ 5,200,000 | $ 4,700,000 |
Supplemental Employee Retirement Plan | 401(k) |  |  |
Defined Contribution Plan Disclosure [Line Items] |  |  |
Percent of employees eligible earnings (as a percent) | 3.50% |  |
Employer matching contribution expense | $ 8,400,000 | $ 8,700,000 | $ 8,000,000.0

X
- Definition Self Insurance, Maximum Coverage Per Incident + References No definition available. + Details
Name: | hqy_SelfInsuranceMaximumCoveragePerIncident
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480794/715-70-50-1 + Details
Name: | us-gaap_DefinedContributionPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of discretionary contributions made by an employer to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying amount of accrued known and estimated losses incurred as of the balance sheet date for which no insurance coverage exists, and for which a claim has been made or is probable of being asserted, typically arising from workmen's compensation-type of incidents and personal injury to nonemployees from accidents on the entity's property that are expected to be paid within one year (or the normal operating cycle, if longer). + References No definition available. + Details
Name: | us-gaap_SelfInsuranceReserveCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=hqy_EmployeeRelatedLiabilitiesCurrentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_SupplementalEmployeeRetirementPlanDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=hqy_A401kMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |