<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>301</ContextCount>
  <ElementCount>539</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>68</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0002002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001003 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002004 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003005 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ConsolidatedStatementsofComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004006 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1005007 - Statement - Consolidated Statements of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ConsolidatedStatementsofStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1406401 - Statement - Consolidated Statements of Stockholders' Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ConsolidatedStatementsofStockholdersEquityParenthetical</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2101101 - Disclosure - Description of Business and Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/DescriptionofBusinessandSignificantAccountingPolicies</Role>
      <ShortName>Description of Business and Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2106102 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/Revenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2109103 - Disclosure - Changes in Accumulated Other Comprehensive Income by Component</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ChangesinAccumulatedOtherComprehensiveIncomebyComponent</Role>
      <ShortName>Changes in Accumulated Other Comprehensive Income by Component</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2113104 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/PropertyandEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2116105 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/GoodwillandOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2122106 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2128107 - Disclosure - Accounts and Notes Receivable</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://hcsgcorp.com/role/AccountsandNotesReceivable</Role>
      <ShortName>Accounts and Notes Receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2131108 - Disclosure - Allowance for Doubtful Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/AllowanceforDoubtfulAccounts</Role>
      <ShortName>Allowance for Doubtful Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2137109 - Disclosure - Lease Commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/LeaseCommitments</Role>
      <ShortName>Lease Commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2142110 - Disclosure - Share-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ShareBasedCompensation</Role>
      <ShortName>Share-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2155111 - Disclosure - Other Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/OtherEmployeeBenefitPlans</Role>
      <ShortName>Other Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2157112 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2163113 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2164114 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/SegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2167115 - Disclosure - Earnings Per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/EarningsPerCommonShare</Role>
      <ShortName>Earnings Per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2171116 - Disclosure - Contractual Obligations and Other Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ContractualObligationsandOtherContingencies</Role>
      <ShortName>Contractual Obligations and Other Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2173117 - Disclosure - Accrued Insurance Claims</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/AccruedInsuranceClaims</Role>
      <ShortName>Accrued Insurance Claims</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2175118 - Disclosure - Treasury Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/TreasuryStock</Role>
      <ShortName>Treasury Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2177119 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2179120 - Disclosure - Schedule II - Valuation and Qualifying Accounts and Reserves</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ScheduleIIValuationandQualifyingAccountsandReserves</Role>
      <ShortName>Schedule II - Valuation and Qualifying Accounts and Reserves</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Description of Business and Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/DescriptionofBusinessandSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Description of Business and Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/DescriptionofBusinessandSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Description of Business and Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/DescriptionofBusinessandSignificantAccountingPoliciesTables</Role>
      <ShortName>Description of Business and Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/DescriptionofBusinessandSignificantAccountingPolicies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2310302 - Disclosure - Changes in Accumulated Other Comprehensive Income by Component (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ChangesinAccumulatedOtherComprehensiveIncomebyComponentTables</Role>
      <ShortName>Changes in Accumulated Other Comprehensive Income by Component (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/ChangesinAccumulatedOtherComprehensiveIncomebyComponent</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2314303 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/PropertyandEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/PropertyandEquipment</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2317304 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/GoodwillandOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/GoodwillandOtherIntangibleAssets</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2323305 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/FairValueMeasurements</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2329306 - Disclosure - Accounts and Notes Receivable (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://hcsgcorp.com/role/AccountsandNotesReceivableTables</Role>
      <ShortName>Accounts and Notes Receivable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/AccountsandNotesReceivable</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2332307 - Disclosure - Allowance for Doubtful Accounts (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/AllowanceforDoubtfulAccountsTables</Role>
      <ShortName>Allowance for Doubtful Accounts (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/AllowanceforDoubtfulAccounts</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2338308 - Disclosure - Lease Commitments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/LeaseCommitmentsTables</Role>
      <ShortName>Lease Commitments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/LeaseCommitments</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2343309 - Disclosure - Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ShareBasedCompensationTables</Role>
      <ShortName>Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/ShareBasedCompensation</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2358310 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/IncomeTaxes</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2365311 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/SegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/SegmentInformation</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2368312 - Disclosure - Earnings Per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/EarningsPerCommonShareTables</Role>
      <ShortName>Earnings Per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/EarningsPerCommonShare</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Description of Business and Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/DescriptionofBusinessandSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Description of Business and Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2405403 - Disclosure - Description of Business and Significant Accounting Policies - Schedule of Cumulative Effect of Initially Applying New Guidance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/DescriptionofBusinessandSignificantAccountingPoliciesScheduleofCumulativeEffectofInitiallyApplyingNewGuidanceDetails</Role>
      <ShortName>Description of Business and Significant Accounting Policies - Schedule of Cumulative Effect of Initially Applying New Guidance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2407404 - Disclosure - Revenue - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/RevenueAdditionalInformationDetails</Role>
      <ShortName>Revenue - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2408405 - Disclosure - Revenue - Transaction Price Allocated to Remaining Performance Obligation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/RevenueTransactionPriceAllocatedtoRemainingPerformanceObligationDetails</Role>
      <ShortName>Revenue - Transaction Price Allocated to Remaining Performance Obligation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2411406 - Disclosure - Changes in Accumulated Other Comprehensive Income by Component - Summary (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ChangesinAccumulatedOtherComprehensiveIncomebyComponentSummaryDetails</Role>
      <ShortName>Changes in Accumulated Other Comprehensive Income by Component - Summary (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/ChangesinAccumulatedOtherComprehensiveIncomebyComponentTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2412407 - Disclosure - Changes in Accumulated Other Comprehensive Income by Component - Reclassification Adjustments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ChangesinAccumulatedOtherComprehensiveIncomebyComponentReclassificationAdjustmentsDetails</Role>
      <ShortName>Changes in Accumulated Other Comprehensive Income by Component - Reclassification Adjustments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2415408 - Disclosure - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/PropertyandEquipmentDetails</Role>
      <ShortName>Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/PropertyandEquipmentTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2418409 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/GoodwillandOtherIntangibleAssetsAdditionalInformationDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2419410 - Disclosure - Goodwill and Other Intangible Assets - Goodwill by Reportable Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/GoodwillandOtherIntangibleAssetsGoodwillbyReportableSegmentDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Goodwill by Reportable Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2420411 - Disclosure - Goodwill and Other Intangible Assets - Other Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/GoodwillandOtherIntangibleAssetsOtherIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Other Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2421412 - Disclosure - Goodwill and Other Intangible Assets - Estimated Amortization Expense For Intangibles Subject To Amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseForIntangiblesSubjectToAmortizationDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Estimated Amortization Expense For Intangibles Subject To Amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2424413 - Disclosure - Fair Value Measurements - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/FairValueMeasurementsAdditionalInformationDetails</Role>
      <ShortName>Fair Value Measurements - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2425414 - Disclosure - Fair Value Measurements - Marketable Securities and Deferred Compensation Fund Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/FairValueMeasurementsMarketableSecuritiesandDeferredCompensationFundInvestmentsDetails</Role>
      <ShortName>Fair Value Measurements - Marketable Securities and Deferred Compensation Fund Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2426415 - Disclosure - Fair Value Measurements - Marketable Debt Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/FairValueMeasurementsMarketableDebtSecuritiesDetails</Role>
      <ShortName>Fair Value Measurements - Marketable Debt Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2427416 - Disclosure - Fair Value Measurements - Contractual Maturities of Debt Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/FairValueMeasurementsContractualMaturitiesofDebtSecuritiesDetails</Role>
      <ShortName>Fair Value Measurements - Contractual Maturities of Debt Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2430417 - Disclosure - Accounts and Notes Receivable - Schedule of Accounts and Notes Receivable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://hcsgcorp.com/role/AccountsandNotesReceivableScheduleofAccountsandNotesReceivableDetails</Role>
      <ShortName>Accounts and Notes Receivable - Schedule of Accounts and Notes Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2433418 - Disclosure - Allowance for Doubtful Accounts - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/AllowanceforDoubtfulAccountsAdditionalInformationDetails</Role>
      <ShortName>Allowance for Doubtful Accounts - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2434419 - Disclosure - Allowance for Doubtful Accounts - Notes Receivable Disaggregated by Vintage Year (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://hcsgcorp.com/role/AllowanceforDoubtfulAccountsNotesReceivableDisaggregatedbyVintageYearDetails</Role>
      <ShortName>Allowance for Doubtful Accounts - Notes Receivable Disaggregated by Vintage Year (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2435420 - Disclosure - Allowance for Doubtful Accounts - Age Analysis of Past-Due Note Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/AllowanceforDoubtfulAccountsAgeAnalysisofPastDueNoteReceivableDetails</Role>
      <ShortName>Allowance for Doubtful Accounts - Age Analysis of Past-Due Note Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2436421 - Disclosure - Allowance for Doubtful Accounts - Allowance for doubtful accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/AllowanceforDoubtfulAccountsAllowancefordoubtfulaccountsDetails</Role>
      <ShortName>Allowance for Doubtful Accounts - Allowance for doubtful accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2439422 - Disclosure - Lease Commitments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/LeaseCommitmentsAdditionalInformationDetails</Role>
      <ShortName>Lease Commitments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2440423 - Disclosure - Lease Commitments - Components of Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/LeaseCommitmentsComponentsofLeaseExpenseDetails</Role>
      <ShortName>Lease Commitments - Components of Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2441424 - Disclosure - Lease Commitments - Schedule of Future Minimum Lease Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/LeaseCommitmentsScheduleofFutureMinimumLeasePaymentsDetails</Role>
      <ShortName>Lease Commitments - Schedule of Future Minimum Lease Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2444425 - Disclosure - Share-Based Compensation - Summary of Stock-Based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ShareBasedCompensationSummaryofStockBasedCompensationExpenseDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Stock-Based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2445426 - Disclosure - Share-Based Compensation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ShareBasedCompensationAdditionalInformationDetails</Role>
      <ShortName>Share-Based Compensation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2446427 - Disclosure - Share-Based Compensation - Summary of Stock Options Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ShareBasedCompensationSummaryofStockOptionsOutstandingDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Stock Options Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2447428 - Disclosure - Share-Based Compensation - Assumptions for Fair Value of Options Granted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ShareBasedCompensationAssumptionsforFairValueofOptionsGrantedDetails</Role>
      <ShortName>Share-Based Compensation - Assumptions for Fair Value of Options Granted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2448429 - Disclosure - Share-Based Compensation - Summarized Information About Stock Awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ShareBasedCompensationSummarizedInformationAboutStockAwardsDetails</Role>
      <ShortName>Share-Based Compensation - Summarized Information About Stock Awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2449430 - Disclosure - Share-Based Compensation - Summary of Restricted Stock Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ShareBasedCompensationSummaryofRestrictedStockUnitsDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Restricted Stock Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2450431 - Disclosure - Share-Based Compensation - Weighted Average Remaining Grant-Date and Total Fair Values (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ShareBasedCompensationWeightedAverageRemainingGrantDateandTotalFairValuesDetails</Role>
      <ShortName>Share-Based Compensation - Weighted Average Remaining Grant-Date and Total Fair Values (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2451432 - Disclosure - Share-Based Compensation - Summary of Outstanding Performance Stock Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ShareBasedCompensationSummaryofOutstandingPerformanceStockUnitsDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Outstanding Performance Stock Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2452433 - Disclosure - Share Based Compensation - Summary of ESPP Annual Offerings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ShareBasedCompensationSummaryofESPPAnnualOfferingsDetails</Role>
      <ShortName>Share Based Compensation - Summary of ESPP Annual Offerings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2453434 - Disclosure - Share-Based Compensation - Assumptions For Employee Stock Purchase Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ShareBasedCompensationAssumptionsForEmployeeStockPurchasePlanDetails</Role>
      <ShortName>Share-Based Compensation - Assumptions For Employee Stock Purchase Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2454435 - Disclosure - Share-Based Compensation - Deferred Compensation Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ShareBasedCompensationDeferredCompensationPlanDetails</Role>
      <ShortName>Share-Based Compensation - Deferred Compensation Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2456436 - Disclosure - Other Employee Benefit Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/OtherEmployeeBenefitPlansDetails</Role>
      <ShortName>Other Employee Benefit Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/OtherEmployeeBenefitPlans</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2459437 - Disclosure - Income Taxes - Summary of Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/IncomeTaxesSummaryofProvisionforIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Summary of Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2460438 - Disclosure - Income Taxes - Significant Components of Federal and State Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/IncomeTaxesSignificantComponentsofFederalandStateDeferredTaxAssetsandLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Significant Components of Federal and State Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2461439 - Disclosure - Income Taxes - Reconciliation of the Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/IncomeTaxesReconciliationoftheProvisionforIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Reconciliation of the Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2462440 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/IncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2466441 - Disclosure - Segment Information - Schedule of Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/SegmentInformationScheduleofSegmentInformationDetails</Role>
      <ShortName>Segment Information - Schedule of Segment Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2469442 - Disclosure - Earnings Per Common Share - Schedule of Weighted Average Number of Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/EarningsPerCommonShareScheduleofWeightedAverageNumberofSharesDetails</Role>
      <ShortName>Earnings Per Common Share - Schedule of Weighted Average Number of Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2470443 - Disclosure - Earnings Per Common Share - Schedule Anti-dilutive Outstanding Equity Awards Under Share Based Compensation Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/EarningsPerCommonShareScheduleAntidilutiveOutstandingEquityAwardsUnderShareBasedCompensationPlansDetails</Role>
      <ShortName>Earnings Per Common Share - Schedule Anti-dilutive Outstanding Equity Awards Under Share Based Compensation Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2472444 - Disclosure - Contractual Obligations and Other Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ContractualObligationsandOtherContingenciesDetails</Role>
      <ShortName>Contractual Obligations and Other Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/ContractualObligationsandOtherContingencies</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2474445 - Disclosure - Accrued Insurance Claims (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/AccruedInsuranceClaimsDetails</Role>
      <ShortName>Accrued Insurance Claims (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/AccruedInsuranceClaims</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2476446 - Disclosure - Treasury Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/TreasuryStockDetails</Role>
      <ShortName>Treasury Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/TreasuryStock</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2478447 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/SubsequentEvents</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="hcsg-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2480448 - Disclosure - Schedule II - Valuation and Qualifying Accounts and Reserves (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcsgcorp.com/role/ScheduleIIValuationandQualifyingAccountsandReservesDetails</Role>
      <ShortName>Schedule II - Valuation and Qualifying Accounts and Reserves (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://hcsgcorp.com/role/ScheduleIIValuationandQualifyingAccountsandReserves</ParentRole>
      <Position>88</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" original="hcsg-20211231.htm">hcsg-20211231.htm</File>
    <File>exhibit21-2021subsidiaries.htm</File>
    <File>exhibit23-2021consentofind.htm</File>
    <File>exhibit311-2021section302c.htm</File>
    <File>exhibit312-2021section302c.htm</File>
    <File>exhibit321-2021section906c.htm</File>
    <File>hcsg-20211231.xsd</File>
    <File>hcsg-20211231_cal.xml</File>
    <File>hcsg-20211231_def.xml</File>
    <File>hcsg-20211231_lab.xml</File>
    <File>hcsg-20211231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>hcsg-20211231_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="1199">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="38">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
