<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>189</ContextCount>
  <ElementCount>462</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>61</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0002002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001003 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/CONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="whd-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://cactuswellhead.com/role/CONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003005 - Statement - CONSOLIDATED STATEMENTS OF INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/CONSOLIDATEDSTATEMENTSOFINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004006 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="whd-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://cactuswellhead.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS??? EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1006008 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS??? EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS??? EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1007009 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2101101 - Disclosure - Organization and Nature of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/OrganizationandNatureofOperations</Role>
      <ShortName>Organization and Nature of Operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2103102 - Disclosure - Summary of Significant Accounting Policies and Other Items</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItems</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2118103 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2121104 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2125105 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2132106 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2137107 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/Revenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2141108 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2149109 - Disclosure - Tax Receivable Agreement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/TaxReceivableAgreement</Role>
      <ShortName>Tax Receivable Agreement</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2151110 - Disclosure - Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/Equity</Role>
      <ShortName>Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2155111 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2157112 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2158113 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2161114 - Disclosure - Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SupplementalCashFlowInformation</Role>
      <ShortName>Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2204201 - Disclosure - Summary of Significant Accounting Policies and Other Items (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItems</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Summary of Significant Accounting Policies and Other Items (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsTables</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItems</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2319302 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/InventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/Inventories</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2322303 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/DebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/Debt</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2326304 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/IncomeTaxes</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2333305 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/StockBasedCompensation</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2338306 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/RevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/Revenue</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2342307 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/Leases</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2352308 - Disclosure - Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/EquityTables</Role>
      <ShortName>Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/Equity</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2359309 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/EarningsPerShare</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2362310 - Disclosure - Supplemental Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SupplementalCashFlowInformationTables</Role>
      <ShortName>Supplemental Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/SupplementalCashFlowInformation</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2402401 - Disclosure - Organization and Nature of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/OrganizationandNatureofOperationsDetails</Role>
      <ShortName>Organization and Nature of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/OrganizationandNatureofOperations</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Summary of Significant Accounting Policies and Other Items - Significant Customers and Concentration of Credit Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsSignificantCustomersandConcentrationofCreditRiskDetails</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items - Significant Customers and Concentration of Credit Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Summary of Significant Accounting Policies and Other Items - Tax Receivable Agreement (TRA) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsTaxReceivableAgreementTRADetails</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items - Tax Receivable Agreement (TRA) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Summary of Significant Accounting Policies and Other Items - Derivative Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsDerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items - Derivative Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Summary of Significant Accounting Policies and Other Items - Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsAccountsReceivableDetails</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items - Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2410406 - Disclosure - Summary of Significant Accounting Policies and Other Items - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsInventoriesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items - Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2411407 - Disclosure - Summary of Significant Accounting Policies and Other Items - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsPropertyandEquipmentDetails</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items - Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2412408 - Disclosure - Summary of Significant Accounting Policies and Other Items - Depreciation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsDepreciationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items - Depreciation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2413409 - Disclosure - Summary of Significant Accounting Policies and Other Items - Impairment of Long-Lived Assets and Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsImpairmentofLongLivedAssetsandGoodwillDetails</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items - Impairment of Long-Lived Assets and Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2414410 - Disclosure - Summary of Significant Accounting Policies and Other Items - Accrued Expenses and Other Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsAccruedExpensesandOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items - Accrued Expenses and Other Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2415411 - Disclosure - Summary of Significant Accounting Policies and Other Items - Self Insurance Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsSelfInsuranceAccruedExpensesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items - Self Insurance Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2416412 - Disclosure - Summary of Significant Accounting Policies and Other Items - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsFairValueMeasurementsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items - Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2417413 - Disclosure - Summary of Significant Accounting Policies and Other Items - Employee Benefit Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsEmployeeBenefitPlansDetails</Role>
      <ShortName>Summary of Significant Accounting Policies and Other Items - Employee Benefit Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2420414 - Disclosure - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/InventoriesDetails</Role>
      <ShortName>Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/InventoriesTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2423415 - Disclosure - Debt - Credit Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/DebtCreditAgreementDetails</Role>
      <ShortName>Debt - Credit Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2424416 - Disclosure - Debt - Interest (Income) Expense, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/DebtInterestIncomeExpenseNetDetails</Role>
      <ShortName>Debt - Interest (Income) Expense, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2427417 - Disclosure - Income Taxes - Components Of Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/IncomeTaxesComponentsOfIncomeDetails</Role>
      <ShortName>Income Taxes - Components Of Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2428418 - Disclosure - Income Taxes - Provision For Income Tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/IncomeTaxesProvisionForIncomeTaxDetails</Role>
      <ShortName>Income Taxes - Provision For Income Tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2429419 - Disclosure - Income Taxes - Effective Income Tax Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/IncomeTaxesEffectiveIncomeTaxReconciliationDetails</Role>
      <ShortName>Income Taxes - Effective Income Tax Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2430420 - Disclosure - Income Taxes - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2431421 - Disclosure - Income Taxes - Deferred Tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/IncomeTaxesDeferredTaxDetails</Role>
      <ShortName>Income Taxes - Deferred Tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2434422 - Disclosure - Stock-Based Compensation - Summary of Restricted Stock Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/StockBasedCompensationSummaryofRestrictedStockUnitsDetails</Role>
      <ShortName>Stock-Based Compensation - Summary of Restricted Stock Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2435423 - Disclosure - Stock-Based Compensation - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/StockBasedCompensationNarrativeDetails</Role>
      <ShortName>Stock-Based Compensation - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2436424 - Disclosure - Stock-Based Compensation - Summary of Performance Stock Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/StockBasedCompensationSummaryofPerformanceStockUnitsDetails</Role>
      <ShortName>Stock-Based Compensation - Summary of Performance Stock Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2439425 - Disclosure - Revenue - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/RevenueNarrativeDetails</Role>
      <ShortName>Revenue - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2440426 - Disclosure - Revenue - Disaggregated by Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/RevenueDisaggregatedbyCategoryDetails</Role>
      <ShortName>Revenue - Disaggregated by Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2443427 - Disclosure - Leases - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/LeasesNarrativeDetails</Role>
      <ShortName>Leases - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2444428 - Disclosure - Leases - Components of Lease Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/LeasesComponentsofLeaseCostsDetails</Role>
      <ShortName>Leases - Components of Lease Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2445429 - Disclosure - Leases - Supplemental Cash Flow (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/LeasesSupplementalCashFlowDetails</Role>
      <ShortName>Leases - Supplemental Cash Flow (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2446430 - Disclosure - Leases - Maturities Under Topic 842 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/LeasesMaturitiesUnderTopic842Details</Role>
      <ShortName>Leases - Maturities Under Topic 842 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2447431 - Disclosure - Leases - Quantitative Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/LeasesQuantitativeInformationDetails</Role>
      <ShortName>Leases - Quantitative Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2448432 - Disclosure - Leases - Lessor (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/LeasesLessorDetails</Role>
      <ShortName>Leases - Lessor (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2450433 - Disclosure - Tax Receivable Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/TaxReceivableAgreementDetails</Role>
      <ShortName>Tax Receivable Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/TaxReceivableAgreement</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2453434 - Disclosure - Equity - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/EquityNarrativeDetails</Role>
      <ShortName>Equity - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2454435 - Disclosure - Equity - Schedule of Ownership of CW Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/EquityScheduleofOwnershipofCWUnitsDetails</Role>
      <ShortName>Equity - Schedule of Ownership of CW Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2456436 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/RelatedPartyTransactions</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2460437 - Disclosure - Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/EarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cactuswellhead.com/role/EarningsPerShareTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2463438 - Disclosure - Supplemental Cash Flow Information - Schedule of Non Cash Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SupplementalCashFlowInformationScheduleofNonCashActivitiesDetails</Role>
      <ShortName>Supplemental Cash Flow Information - Schedule of Non Cash Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="whd-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2464439 - Disclosure - Supplemental Cash Flow Information - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cactuswellhead.com/role/SupplementalCashFlowInformationNarrativeDetails</Role>
      <ShortName>Supplemental Cash Flow Information - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</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="whd-20211231.htm">whd-20211231.htm</File>
    <File>a20211231-exhibit1011.htm</File>
    <File>a20211231-exhibit1026.htm</File>
    <File>a20211231-exhibit211.htm</File>
    <File>a20211231-exhibit231.htm</File>
    <File>a20211231-exhibit311.htm</File>
    <File>a20211231-exhibit312.htm</File>
    <File>a20211231-exhibit321.htm</File>
    <File>a20211231-exhibit322.htm</File>
    <File>whd-20211231.xsd</File>
    <File>whd-20211231_cal.xml</File>
    <File>whd-20211231_def.xml</File>
    <File>whd-20211231_lab.xml</File>
    <File>whd-20211231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>whd-20211231_g1.jpg</File>
    <File>whd-20211231_g2.jpg</File>
    <File>whd-20211231_g3.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="840">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="39">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
