XML 41 R31.htm IDEA: XBRL DOCUMENT v3.22.2
Debt (Details) - USD ($)
Jul. 25, 2022
Jun. 30, 2022
Dec. 31, 2021
Aug. 21, 2018
Long-term Debt        
Long-term debt outstanding   $ 0 $ 0  
Cactus LLC | ABL Credit Facility | Line of Credit        
Long-term Debt        
Term of long term debt       5 years
Maximum borrowing capacity       $ 75,000,000
Cactus LLC | ABL Credit Facility | Line of Credit | Subsequent event        
Long-term Debt        
Maximum borrowing capacity $ 80,000,000      
Days prior to maturity with option to extend 91 days      
Principal balance $ 30,000,000      
Cactus LLC | Letters of credit | Line of Credit        
Long-term Debt        
Maximum borrowing capacity       $ 15,000,000