v3.20.1

Business combination - Consideration Transferred (Details) - WageWorks, Inc. - USD ($) $ in Millions |  | 12 Months Ended
--- | --- | ---
Aug. 30, 2019 | Jan. 31, 2020
Business Acquisition [Line Items] |  |
Fair value of previously owned investment in WageWorks stock |  | $ 81.4
Total consideration paid | $ 2,000.0 | 2,122.1
Common stock |  |
Business Acquisition [Line Items] |  |
Aggregate fair value of WageWorks stock acquired |  | 2,018.8
Pre-acquisition Equity Awards |  |
Business Acquisition [Line Items] |  |
Fair value of equity awards exchanged for cash attributable to pre-Acquisition service |  | 18.1
Fair value of equity awards replaced attributable to pre-Acquisition service |  | 18.1
Equity Awards Assumed Attributable To Pre Acquisition Service |  |
Business Acquisition [Line Items] |  |
Fair value of equity awards exchanged for cash attributable to pre-Acquisition service |  | 3.8
Fair value of equity awards replaced attributable to pre-Acquisition service |  | $ 3.8

X
- Definition Business Combination, Consideration Transferred, Equity Interests Previously Owned + References No definition available. + Details
Name: | hqy_BusinessCombinationConsiderationTransferredEquityInterestsPreviouslyOwned
Namespace Prefix: | hqy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Business Combination, Consideration Transferred, Payments To Acquire And Liabilities Incurred + References No definition available. + Details
Name: | hqy_BusinessCombinationConsiderationTransferredPaymentsToAcquireAndLiabilitiesIncurred
Namespace Prefix: | hqy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=116859721&loc=d3e6613-128477 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=116859721&loc=d3e6578-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=116859721&loc=d3e6613-128477 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=116859721&loc=d3e6578-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | us-gaap_EquityInterestIssuedOrIssuableByTypeAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquityInterestIssuedOrIssuableByTypeAxis=hqy_EquityAwardsExchangedForCashAttributableToPreAcquisitionServiceMemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquityInterestIssuedOrIssuableByTypeAxis=hqy_EquityAwardsAssumedAttributableToPreAcquisitionServiceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |