<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>207</ContextCount>
  <ElementCount>331</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>71</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995200090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995200100 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995200105 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995200200 - Statement - Consolidated Statements of Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/StatementConsolidatedStatementsOfComprehensiveLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995200300 - Statement - Consolidated Statements of Changes in Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995200400 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995210101 - Disclosure - Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOrganizationAndNatureOfOperationsBasisOfPresentationAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995210201 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRevenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995210301 - Disclosure - Specialty Rental Assets, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureSpecialtyRentalAssetsNet</Role>
      <ShortName>Specialty Rental Assets, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995210401 - Disclosure - Other Property, Plant and Equipment, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOtherPropertyPlantAndEquipmentNet</Role>
      <ShortName>Other Property, Plant and Equipment, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995210501 - Disclosure - Goodwill and Other Intangible Assets, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureGoodwillAndOtherIntangibleAssetsNet</Role>
      <ShortName>Goodwill and Other Intangible Assets, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995210601 - Disclosure - Other Non-Current Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOtherNonCurrentAssets</Role>
      <ShortName>Other Non-Current Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995210701 - Disclosure - Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureAccruedLiabilities</Role>
      <ShortName>Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995210801 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995210901 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995211001 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureFairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995211101 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995211201 - Disclosure - Earnings (Loss) per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureEarningsLossPerShare</Role>
      <ShortName>Earnings (Loss) per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995211301 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995211401 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995211501 - Disclosure - Retirement Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRetirementPlans</Role>
      <ShortName>Retirement Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995211601 - Disclosure - Business Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureBusinessSegments</Role>
      <ShortName>Business Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995211701 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>99920102 - Disclosure - Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOrganizationAndNatureOfOperationsBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOrganizationAndNatureOfOperationsBasisOfPresentationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>99930203 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureRevenue</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>99930303 - Disclosure - Specialty Rental Assets, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureSpecialtyRentalAssetsNetTables</Role>
      <ShortName>Specialty Rental Assets, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureSpecialtyRentalAssetsNet</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>99930403 - Disclosure - Other Property, Plant and Equipment, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOtherPropertyPlantAndEquipmentNetTables</Role>
      <ShortName>Other Property, Plant and Equipment, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOtherPropertyPlantAndEquipmentNet</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>99930503 - Disclosure - Goodwill and Other Intangible Assets, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureGoodwillAndOtherIntangibleAssetsNetTables</Role>
      <ShortName>Goodwill and Other Intangible Assets, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureGoodwillAndOtherIntangibleAssetsNet</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>99930603 - Disclosure - Other Non-Current Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOtherNonCurrentAssetsTables</Role>
      <ShortName>Other Non-Current Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOtherNonCurrentAssets</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>99930703 - Disclosure - Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureAccruedLiabilitiesTables</Role>
      <ShortName>Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureAccruedLiabilities</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>99930803 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureDebt</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>99931003 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureFairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureFairValueOfFinancialInstruments</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>99931203 - Disclosure - Earnings (Loss) per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureEarningsLossPerShareTables</Role>
      <ShortName>Earnings (Loss) per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureEarningsLossPerShare</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>99931403 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensation</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>99931603 - Disclosure - Business Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureBusinessSegmentsTables</Role>
      <ShortName>Business Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureBusinessSegments</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>99940101 - Disclosure - Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOrganizationAndNatureOfOperationsBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>Organization and Nature of Operations, Basis of Presentation, and Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOrganizationAndNatureOfOperationsBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>99940201 - Disclosure - Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRevenueDetails</Role>
      <ShortName>Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureRevenueTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>99940202 - Disclosure - Revenue - Disaggregation Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRevenueDisaggregationRevenueDetails</Role>
      <ShortName>Revenue - Disaggregation Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>99940203 - Disclosure - Revenue - Contract Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRevenueContractAssetsAndLiabilitiesDetails</Role>
      <ShortName>Revenue - Contract Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>99940204 - Disclosure - Revenue - Revenue Expected to be Recognized (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRevenueRevenueExpectedToBeRecognizedDetails</Role>
      <ShortName>Revenue - Revenue Expected to be Recognized (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>99940301 - Disclosure - Specialty Rental Assets, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureSpecialtyRentalAssetsNetDetails</Role>
      <ShortName>Specialty Rental Assets, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureSpecialtyRentalAssetsNetTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>99940401 - Disclosure - Other Property, Plant and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOtherPropertyPlantAndEquipmentNetDetails</Role>
      <ShortName>Other Property, Plant and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOtherPropertyPlantAndEquipmentNetTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>99940501 - Disclosure - Goodwill and Other Intangible Assets, net - Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureGoodwillAndOtherIntangibleAssetsNetGoodwillDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets, net - Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>99940502 - Disclosure - Goodwill and Other Intangible Assets, net - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureGoodwillAndOtherIntangibleAssetsNetIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets, net - Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>99940503 - Disclosure - Goodwill and Other Intangible Assets, net - Future Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureGoodwillAndOtherIntangibleAssetsNetFutureAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets, net - Future Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>99940601 - Disclosure - Other Non-Current Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureOtherNonCurrentAssetsDetails</Role>
      <ShortName>Other Non-Current Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureOtherNonCurrentAssetsTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>99940701 - Disclosure - Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureAccruedLiabilitiesDetails</Role>
      <ShortName>Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureAccruedLiabilitiesTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>99940801 - Disclosure - Debt - Senior Secured Notes 2025 (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtSeniorSecuredNotes2025Details</Role>
      <ShortName>Debt - Senior Secured Notes 2025 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>99940802 - Disclosure - Debt - Finance Lease and Other Financing Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtFinanceLeaseAndOtherFinancingObligationsDetails</Role>
      <ShortName>Debt - Finance Lease and Other Financing Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>99940803 - Disclosure - Debt - ABL Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtAblFacilityDetails</Role>
      <ShortName>Debt - ABL Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>99940804 - Disclosure - Debt - Carrying Value of Debt Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtCarryingValueOfDebtOutstandingDetails</Role>
      <ShortName>Debt - Carrying Value of Debt Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>99940805 - Disclosure - Debt - Components of interest expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtComponentsOfInterestExpenseDetails</Role>
      <ShortName>Debt - Components of interest expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>99940806 - Disclosure - Debt - Deferred Financing Costs and Original Issue Discount (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtDeferredFinancingCostsAndOriginalIssueDiscountDetails</Role>
      <ShortName>Debt - Deferred Financing Costs and Original Issue Discount (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>99940807 - Disclosure - Debt - Schedule of maturities of long term debt and finance lease obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureDebtScheduleOfMaturitiesOfLongTermDebtAndFinanceLeaseObligationsDetails</Role>
      <ShortName>Debt - Schedule of maturities of long term debt and finance lease obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>99940901 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>99940904 - Disclosure - Income Taxes - Deferred Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Deferred Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>99941001 - Disclosure - Fair Value of Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureFairValueOfFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value of Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureFairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>99941201 - Disclosure - Earnings (Loss) per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureEarningsLossPerShareDetails</Role>
      <ShortName>Earnings (Loss) per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureEarningsLossPerShareTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>99941301 - Disclosure - Stockholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockholdersEquityDetails</Role>
      <ShortName>Stockholders' Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureStockholdersEquity</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>99941401 - Disclosure - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensationDetails</Role>
      <ShortName>Stock-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensationTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>99941402 - Disclosure - Stock-Based Compensation - Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensationAssumptionsDetails</Role>
      <ShortName>Stock-Based Compensation - Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>99941403 - Disclosure - Stock-Based Compensation - Stock-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensationStockBasedCompensationExpenseDetails</Role>
      <ShortName>Stock-Based Compensation - Stock-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>99941404 - Disclosure - Stock-Based Compensation - Changes in stock options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureStockBasedCompensationChangesInStockOptionsDetails</Role>
      <ShortName>Stock-Based Compensation - Changes in stock options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>99941501 - Disclosure - Retirement Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureRetirementPlansDetails</Role>
      <ShortName>Retirement Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureRetirementPlans</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>99941601 - Disclosure - Business Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureBusinessSegmentsDetails</Role>
      <ShortName>Business Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureBusinessSegmentsTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>99941602 - Disclosure - Business Segments - Reconciliation of total segment adjusted gross profit to total combined income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureBusinessSegmentsReconciliationOfTotalSegmentAdjustedGrossProfitToTotalCombinedIncomeDetails</Role>
      <ShortName>Business Segments - Reconciliation of total segment adjusted gross profit to total combined income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>99941603 - Disclosure - Business Segments - Reconciliation of total segment assets to total combined assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureBusinessSegmentsReconciliationOfTotalSegmentAssetsToTotalCombinedAssetsDetails</Role>
      <ShortName>Business Segments - Reconciliation of total segment assets to total combined assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>99941604 - Disclosure - Business Segments - Unallocated assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureBusinessSegmentsUnallocatedAssetsDetails</Role>
      <ShortName>Business Segments - Unallocated assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="th-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>99941701 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://targethospitalitycorp.com/role/DisclosureSubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://targethospitalitycorp.com/role/DisclosureSubsequentEvents</ParentRole>
      <Position>71</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>th-20260331.xsd</File>
    <File>th-20260331_cal.xml</File>
    <File>th-20260331_def.xml</File>
    <File>th-20260331_lab.xml</File>
    <File>th-20260331_pre.xml</File>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="th-20260331x10q.htm">th-20260331x10q.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="669">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="16">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
