<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.19.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>186</ContextCount>
  <ElementCount>277</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>50</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/ConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/ConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003000 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003501 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1005000 - Statement - Consolidated Statement of Equity Statement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/ConsolidatedStatementOfEquityStatement</Role>
      <ShortName>Consolidated Statement of Equity Statement</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Basis of Presentation and Significant Accounting Policies Basis of Presentation and Significant Accounting Policies (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.tetratec.com/role/BasisOfPresentationAndSignificantAccountingPoliciesBasisOfPresentationAndSignificantAccountingPoliciesNotes</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies Basis of Presentation and Significant Accounting Policies (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Net Income (Loss) per Share (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.tetratec.com/role/NetIncomeLossPerShareNotes</Role>
      <ShortName>Net Income (Loss) per Share (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Discontinued Operations (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.tetratec.com/role/DiscontinuedOperationsNotes</Role>
      <ShortName>Discontinued Operations (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Long-Term Debt and Other Borrowings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/LongTermDebtAndOtherBorrowings</Role>
      <ShortName>Long-Term Debt and Other Borrowings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - CCLP Series A Convertiable Preferred Units CCLP Series A Preferred Units</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/CclpSeriesConvertiablePreferredUnitsCclpSeriesPreferredUnits</Role>
      <ShortName>CCLP Series A Convertiable Preferred Units CCLP Series A Preferred Units</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Market Risks and Derivative Hedge Contracts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/MarketRisksAndDerivativeHedgeContracts</Role>
      <ShortName>Market Risks and Derivative Hedge Contracts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2120100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2122100 - Disclosure - Industry Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/IndustrySegments</Role>
      <ShortName>Industry Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2126100 - Disclosure - Revenue from Contracts with Customers (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.tetratec.com/role/RevenueFromContractsWithCustomersNotes</Role>
      <ShortName>Revenue from Contracts with Customers (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2127100 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Basis of Presentation and Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/BasisOfPresentationAndSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/BasisOfPresentationAndSignificantAccountingPoliciesBasisOfPresentationAndSignificantAccountingPoliciesNotes</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/InventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/Inventories</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Net Income (Loss) per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/NetIncomeLossPerShareTables</Role>
      <ShortName>Net Income (Loss) per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/NetIncomeLossPerShareNotes</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Long-Term Debt and Other Borrowings Long-Term Debt and Other Borrowings (Table)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/LongTermDebtAndOtherBorrowingsLongTermDebtAndOtherBorrowingsTable</Role>
      <ShortName>Long-Term Debt and Other Borrowings Long-Term Debt and Other Borrowings (Table)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - Fair Value Measurements Market Risks and Derivative Hedge Contracts (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/FairValueMeasurementsMarketRisksAndDerivativeHedgeContractsTables</Role>
      <ShortName>Fair Value Measurements Market Risks and Derivative Hedge Contracts (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2322301 - Disclosure - Industry Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/IndustrySegmentsTables</Role>
      <ShortName>Industry Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/IndustrySegments</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2326301 - Disclosure - Revenue from Contracts with Customers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/RevenueFromContractsWithCustomersTables</Role>
      <ShortName>Revenue from Contracts with Customers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/RevenueFromContractsWithCustomersNotes</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2327301 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/Leases</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Basis of Presentation and Significant Accounting Policies Basis of Presentation and Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/BasisOfPresentationAndSignificantAccountingPoliciesBasisOfPresentationAndSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies Basis of Presentation and Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Basis of Presentation and Significant Accounting Policies Basis of Presentation and Significant Accounting Policies - Goodwill and Impairment of Long-Lived Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/BasisOfPresentationAndSignificantAccountingPoliciesBasisOfPresentationAndSignificantAccountingPoliciesGoodwillAndImpairmentOfLongLivedAssetsDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies Basis of Presentation and Significant Accounting Policies - Goodwill and Impairment of Long-Lived Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Basis of Presentation and Significant Accounting Policies Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/BasisOfPresentationAndSignificantAccountingPoliciesIncomeTaxesDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/BasisOfPresentationAndSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2402405 - Disclosure - Basis of Presentation and Significant Accounting Policies Impairments of Long-Lived Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/BasisOfPresentationAndSignificantAccountingPoliciesImpairmentsOfLongLivedAssetsDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies Impairments of Long-Lived Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2402406 - Disclosure - Basis of Presentation and Significant Accounting Policies New Accounting Pronouncements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/BasisOfPresentationAndSignificantAccountingPoliciesNewAccountingPronouncementsDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies New Accounting Pronouncements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/InventoriesDetails</Role>
      <ShortName>Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/InventoriesTables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Net Income (Loss) per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/NetIncomeLossPerShareDetails</Role>
      <ShortName>Net Income (Loss) per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/NetIncomeLossPerShareTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Discontinued Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/DiscontinuedOperationsDetails</Role>
      <ShortName>Discontinued Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/DiscontinuedOperationsNotes</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Long-Term Debt and Other Borrowings Schedule of Long Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/LongTermDebtAndOtherBorrowingsScheduleOfLongTermDebtDetails</Role>
      <ShortName>Long-Term Debt and Other Borrowings Schedule of Long Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - Long-Term Debt and Other Borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/LongTermDebtAndOtherBorrowingsDetails</Role>
      <ShortName>Long-Term Debt and Other Borrowings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/LongTermDebtAndOtherBorrowingsLongTermDebtAndOtherBorrowingsTable</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2414401 - Disclosure - CCLP Series A Convertiable Preferred Units CCLP Series A Preferred Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/CclpSeriesConvertiablePreferredUnitsCclpSeriesPreferredUnitsDetails</Role>
      <ShortName>CCLP Series A Convertiable Preferred Units CCLP Series A Preferred Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/CclpSeriesConvertiablePreferredUnitsCclpSeriesPreferredUnits</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Market Risks and Derivative Hedge Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/MarketRisksAndDerivativeHedgeContractsDetails</Role>
      <ShortName>Market Risks and Derivative Hedge Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/MarketRisksAndDerivativeHedgeContracts</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - Fair Value Measurements Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/FairValueMeasurementsAdditionalInformationDetails</Role>
      <ShortName>Fair Value Measurements Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2416404 - Disclosure - Fair Value Measurements CCLP Preferred Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/FairValueMeasurementsCclpPreferredUnitsDetails</Role>
      <ShortName>Fair Value Measurements CCLP Preferred Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2416405 - Disclosure - Fair Value Measurements Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/FairValueMeasurementsWarrantsDetails</Role>
      <ShortName>Fair Value Measurements Warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2422402 - Disclosure - Industry Segments - Revenue, Income from Operations, and Assets by Reporting Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/IndustrySegmentsRevenueIncomeFromOperationsAndAssetsByReportingSegmentDetails</Role>
      <ShortName>Industry Segments - Revenue, Income from Operations, and Assets by Reporting Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2422403 - Disclosure - Industry Segments - Corporate Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/IndustrySegmentsCorporateExpensesDetails</Role>
      <ShortName>Industry Segments - Corporate Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2422404 - Disclosure - Industry Segments Additional Details (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/IndustrySegmentsAdditionalDetailsDetails</Role>
      <ShortName>Industry Segments Additional Details (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2426402 - Disclosure - Revenue from Contracts with Customers Disaggregation of Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/RevenueFromContractsWithCustomersDisaggregationOfRevenueDetails</Role>
      <ShortName>Revenue from Contracts with Customers Disaggregation of Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2426403 - Disclosure - Revenue from Contracts with Customers Contract Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/RevenueFromContractsWithCustomersContractAssetsAndLiabilitiesDetails</Role>
      <ShortName>Revenue from Contracts with Customers Contract Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2426404 - Disclosure - Revenue from Contracts with Customers Services (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/RevenueFromContractsWithCustomersServicesDetails</Role>
      <ShortName>Revenue from Contracts with Customers Services (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tetratec.com/role/RevenueFromContractsWithCustomersTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2427402 - Disclosure - Leases - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/LeasesNarrativeDetails</Role>
      <ShortName>Leases - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2427403 - Disclosure - Leases - Components of Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/LeasesComponentsOfLeaseExpenseDetails</Role>
      <ShortName>Leases - Components of Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2427404 - Disclosure - Leases - Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/LeasesSupplementalCashFlowInformationDetails</Role>
      <ShortName>Leases - Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2427405 - Disclosure - Leases - Supplemental Balance Sheet Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/LeasesSupplementalBalanceSheetInformationDetails</Role>
      <ShortName>Leases - Supplemental Balance Sheet Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2427406 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/LeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2427407 - Disclosure - Leases - Future Minimum Lease Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tetratec.com/role/LeasesFutureMinimumLeasePaymentsDetails</Role>
      <ShortName>Leases - Future Minimum Lease Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="tti-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - tti-20190331.xml</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - tti-20190331.xml</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>tti-20190331.xml</File>
    <File>tti-20190331.xsd</File>
    <File>tti-20190331_cal.xml</File>
    <File>tti-20190331_def.xml</File>
    <File>tti-20190331_lab.xml</File>
    <File>tti-20190331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
