<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>735</ContextCount>
  <ElementCount>398</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>125</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - Condensed Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CondensedConsolidatedStatementsofOperations</Role>
      <ShortName>Condensed Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - Condensed Consolidated Statement of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CondensedConsolidatedStatementofStockholdersEquity</Role>
      <ShortName>Condensed Consolidated Statement of Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CondensedConsolidatedStatementsofCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Disclosure - Presentation and Principles of Consolidation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/PresentationandPrinciplesofConsolidation</Role>
      <ShortName>Presentation and Principles of Consolidation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Disclosure - Acquisition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/Acquisition</Role>
      <ShortName>Acquisition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - Discontinued Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/DiscontinuedOperations</Role>
      <ShortName>Discontinued Operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/Revenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - Operating Segment Data</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/OperatingSegmentData</Role>
      <ShortName>Operating Segment Data</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Property, Plant and Equipment and Inventory</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/PropertyPlantandEquipmentandInventory</Role>
      <ShortName>Property, Plant and Equipment and Inventory</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/GoodwillandOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Warranties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/Warranties</Role>
      <ShortName>Warranties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - Noncontrolling Interest</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/NoncontrollingInterest</Role>
      <ShortName>Noncontrolling Interest</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Fair Value Measurement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/FairValueMeasurement</Role>
      <ShortName>Fair Value Measurement</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - Defined Benefit Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/DefinedBenefitPlan</Role>
      <ShortName>Defined Benefit Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9954701 - Disclosure - Presentation and Principles of Consolidation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/PresentationandPrinciplesofConsolidationPolicies</Role>
      <ShortName>Presentation and Principles of Consolidation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9954705 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/RevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstrust.com/role/Revenue</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9954706 - Disclosure - Operating Segment Data (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/OperatingSegmentDataTables</Role>
      <ShortName>Operating Segment Data (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstrust.com/role/OperatingSegmentData</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9954707 - Disclosure - Property, Plant and Equipment and Inventory (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/PropertyPlantandEquipmentandInventoryTables</Role>
      <ShortName>Property, Plant and Equipment and Inventory (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstrust.com/role/PropertyPlantandEquipmentandInventory</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9954708 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/GoodwillandOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstrust.com/role/GoodwillandOtherIntangibleAssets</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9954709 - Disclosure - Warranties (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/WarrantiesTables</Role>
      <ShortName>Warranties (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstrust.com/role/Warranties</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9954710 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/DebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstrust.com/role/Debt</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9954711 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/StockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9954712 - Disclosure - Noncontrolling Interest (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/NoncontrollingInterestTables</Role>
      <ShortName>Noncontrolling Interest (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstrust.com/role/NoncontrollingInterest</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9954713 - Disclosure - Fair Value Measurement (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/FairValueMeasurementTables</Role>
      <ShortName>Fair Value Measurement (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstrust.com/role/FairValueMeasurement</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9954714 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstrust.com/role/IncomeTaxes</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9954715 - Disclosure - Defined Benefit Plan (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/DefinedBenefitPlanTables</Role>
      <ShortName>Defined Benefit Plan (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstrust.com/role/DefinedBenefitPlan</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9954716 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CommitmentsandContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstrust.com/role/CommitmentsandContingencies</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9954718 - Disclosure - Presentation and Principles of Consolidation - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/PresentationandPrinciplesofConsolidationNarrativeDetails</Role>
      <ShortName>Presentation and Principles of Consolidation - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9954719 - Disclosure - Acquisition - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/AcquisitionAdditionalInformationDetail</Role>
      <ShortName>Acquisition - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9954720 - Disclosure - Acquisition - Schedule of Assets Acquired and Liabilities Assumed as of the Acquisition Date (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/AcquisitionScheduleofAssetsAcquiredandLiabilitiesAssumedasoftheAcquisitionDateDetail</Role>
      <ShortName>Acquisition - Schedule of Assets Acquired and Liabilities Assumed as of the Acquisition Date (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9954721 - Disclosure - Acquisition - Schedule of Intangible Assets Recorded as Part of Acquisition (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/AcquisitionScheduleofIntangibleAssetsRecordedasPartofAcquisitionDetail</Role>
      <ShortName>Acquisition - Schedule of Intangible Assets Recorded as Part of Acquisition (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9954722 - Disclosure - Acquisition - Pro Forma Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/AcquisitionProFormaInformationDetails</Role>
      <ShortName>Acquisition - Pro Forma Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9954723 - Disclosure - Discontinued Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/DiscontinuedOperationsDetails</Role>
      <ShortName>Discontinued Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.compasstrust.com/role/DiscontinuedOperations</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9954724 - Disclosure - Discontinued Operations - Summarized Balance Sheet Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/DiscontinuedOperationsSummarizedBalanceSheetInformationDetails</Role>
      <ShortName>Discontinued Operations - Summarized Balance Sheet Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9954725 - Disclosure - Discontinued Operations - Summarized Operating Results (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/DiscontinuedOperationsSummarizedOperatingResultsDetails</Role>
      <ShortName>Discontinued Operations - Summarized Operating Results (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9954726 - Disclosure - Revenue - Disaggregation of Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/RevenueDisaggregationofRevenueDetails</Role>
      <ShortName>Revenue - Disaggregation of Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9954727 - Disclosure - Operating Segment Data - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/OperatingSegmentDataAdditionalInformationDetail</Role>
      <ShortName>Operating Segment Data - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9954728 - Disclosure - Operating Segment Data - Summary of Net Sales of Operating Segments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/OperatingSegmentDataSummaryofNetSalesofOperatingSegmentsDetail</Role>
      <ShortName>Operating Segment Data - Summary of Net Sales of Operating Segments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9954729 - Disclosure - Operating Segment Data - Summary of Profit (Loss) of Operating Segments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/OperatingSegmentDataSummaryofProfitLossofOperatingSegmentsDetail</Role>
      <ShortName>Operating Segment Data - Summary of Profit (Loss) of Operating Segments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9954730 - Disclosure - Operating Segment Data - Summary of Depreciation, Goodwill and Identifiable Assets of Operating Segments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/OperatingSegmentDataSummaryofDepreciationGoodwillandIdentifiableAssetsofOperatingSegmentsDetail</Role>
      <ShortName>Operating Segment Data - Summary of Depreciation, Goodwill and Identifiable Assets of Operating Segments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9954731 - Disclosure - Property, Plant and Equipment and Inventory - Summary of Property, Plant and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/PropertyPlantandEquipmentandInventorySummaryofPropertyPlantandEquipmentDetail</Role>
      <ShortName>Property, Plant and Equipment and Inventory - Summary of Property, Plant and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9954732 - Disclosure - Property, Plant and Equipment and Inventory - Summary of Inventory (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/PropertyPlantandEquipmentandInventorySummaryofInventoryDetail</Role>
      <ShortName>Property, Plant and Equipment and Inventory - Summary of Inventory (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9954733 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/GoodwillandOtherIntangibleAssetsAdditionalInformationDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9954734 - Disclosure - Goodwill and Other Intangible Assets - Summary of Reconciliation of Change in Carrying Value of Goodwill (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/GoodwillandOtherIntangibleAssetsSummaryofReconciliationofChangeinCarryingValueofGoodwillDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Summary of Reconciliation of Change in Carrying Value of Goodwill (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9954735 - Disclosure - Goodwill and Other Intangible Assets - Summary of Other Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/GoodwillandOtherIntangibleAssetsSummaryofOtherIntangibleAssetsDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Summary of Other Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9954736 - Disclosure - Goodwill and Other Intangible Assets - Summary of Estimated Charges to Amortization Expense of Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/GoodwillandOtherIntangibleAssetsSummaryofEstimatedChargestoAmortizationExpenseofIntangibleAssetsDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Summary of Estimated Charges to Amortization Expense of Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9954737 - Disclosure - Warranties - Change in Carrying Value of Company's Warranty Liability (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/WarrantiesChangeinCarryingValueofCompanysWarrantyLiabilityDetail</Role>
      <ShortName>Warranties - Change in Carrying Value of Company's Warranty Liability (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9954738 - Disclosure - Debt - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/DebtAdditionalInformationDetail</Role>
      <ShortName>Debt - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9954739 - Disclosure - Debt - Issuance Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/DebtIssuanceCostsDetails</Role>
      <ShortName>Debt - Issuance Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9954740 - Disclosure - Debt - Summary of Debt Holdings (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/DebtSummaryofDebtHoldingsDetail</Role>
      <ShortName>Debt - Summary of Debt Holdings (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9954741 - Disclosure - Stockholders' Equity - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/StockholdersEquityAdditionalInformationDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9954742 - Disclosure - Stockholders' Equity - Summary of Basic and Diluted Earnings Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/StockholdersEquitySummaryofBasicandDilutedEarningsPerShareDetail</Role>
      <ShortName>Stockholders' Equity - Summary of Basic and Diluted Earnings Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9954743 - Disclosure - Noncontrolling Interest - Company's Ownership Percentage of its Majority Owned Operating Segments and Related Noncontrolling Interest (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/NoncontrollingInterestCompanysOwnershipPercentageofitsMajorityOwnedOperatingSegmentsandRelatedNoncontrollingInterestDetail</Role>
      <ShortName>Noncontrolling Interest - Company's Ownership Percentage of its Majority Owned Operating Segments and Related Noncontrolling Interest (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9954744 - Disclosure - Noncontrolling Interest Noncontrolling Interest- Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/NoncontrollingInterestNoncontrollingInterestAdditionalInformationDetails</Role>
      <ShortName>Noncontrolling Interest Noncontrolling Interest- Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9954745 - Disclosure - Fair Value Measurement - Summary of Liabilities Carried at Fair Value Measured on Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/FairValueMeasurementSummaryofLiabilitiesCarriedatFairValueMeasuredonRecurringBasisDetail</Role>
      <ShortName>Fair Value Measurement - Summary of Liabilities Carried at Fair Value Measured on Recurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9954746 - Disclosure - Fair Value Measurement - Reconciliations of Change in Carrying Value of Level 3 Fair Value Measurements (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/FairValueMeasurementReconciliationsofChangeinCarryingValueofLevel3FairValueMeasurementsDetail</Role>
      <ShortName>Fair Value Measurement - Reconciliations of Change in Carrying Value of Level 3 Fair Value Measurements (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9954747 - Disclosure - Fair Value Measurement - Assets Measured on Nonrecurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/FairValueMeasurementAssetsMeasuredonNonrecurringBasisDetails</Role>
      <ShortName>Fair Value Measurement - Assets Measured on Nonrecurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9954748 - Disclosure - Fair Value Measurement - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/FairValueMeasurementAdditionalInformationDetail</Role>
      <ShortName>Fair Value Measurement - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9954749 - Disclosure - Income Taxes - Reconciliation between Federal Statutory Rate and Effective Income Tax Rate (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/IncomeTaxesReconciliationbetweenFederalStatutoryRateandEffectiveIncomeTaxRateDetail</Role>
      <ShortName>Income Taxes - Reconciliation between Federal Statutory Rate and Effective Income Tax Rate (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9954750 - Disclosure - Defined Benefit Plan - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/DefinedBenefitPlanAdditionalInformationDetail</Role>
      <ShortName>Defined Benefit Plan - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9954751 - Disclosure - Defined Benefit Plan - Summary of Net Periodic Benefit Cost (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/DefinedBenefitPlanSummaryofNetPeriodicBenefitCostDetail</Role>
      <ShortName>Defined Benefit Plan - Summary of Net Periodic Benefit Cost (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9954752 - Disclosure - Commitments and Contingencies - Components of Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CommitmentsandContingenciesComponentsofOperatingLeasesDetails</Role>
      <ShortName>Commitments and Contingencies - Components of Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9954753 - Disclosure - Commitments and Contingencies - Maturity of Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CommitmentsandContingenciesMaturityofLeaseLiabilitiesDetails</Role>
      <ShortName>Commitments and Contingencies - Maturity of Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9954754 - Disclosure - Commitments and Contingencies - Lease Term and Discount Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CommitmentsandContingenciesLeaseTermandDiscountRateDetails</Role>
      <ShortName>Commitments and Contingencies - Lease Term and Discount Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9954755 - Disclosure - Commitments and Contingencies - Supplemental Cash Flow Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CommitmentsandContingenciesSupplementalCashFlowInformationRelatedtoLeasesDetails</Role>
      <ShortName>Commitments and Contingencies - Supplemental Cash Flow Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9954756 - Disclosure - Commitments and Contingencies Supplemental Balance Sheet Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/CommitmentsandContingenciesSupplementalBalanceSheetInformationDetails</Role>
      <ShortName>Commitments and Contingencies Supplemental Balance Sheet Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9954757 - Disclosure - - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/NarrativeDetails</Role>
      <ShortName>- Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9954758 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstrust.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.compasstrust.com/role/SubsequentEvents</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="codi-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - codi-20230630.htm</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - codi-20230630.htm</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 22 fact(s) appearing in ix:hidden were eligible for transformation: us-gaap:AccumulatedAmortizationOfNoncurrentDeferredFinanceCosts, us-gaap:AllowanceForDoubtfulAccountsReceivable, us-gaap:CommonStockSharesAuthorized, us-gaap:CommonStockSharesOutstanding, us-gaap:CommonStockVotingRights, us-gaap:PreferredStockNoParValue, us-gaap:PreferredStockSharesAuthorized, us-gaap:PreferredStockSharesIssued, us-gaap:PreferredStockSharesOutstanding -  codi-20230630.htm 4</Log>
    <Log type="Warning">[ix-0514-Hidden-Fact-Not-Referenced] WARN: 3 fact(s) appearing in ix:hidden were not referenced by any -sec-ix-hidden style property: us-gaap:CommonStockNoParValue, us-gaap:PreferredStockNoParValue -  codi-20230630.htm 4</Log>
    <Log type="Warning">[dqc-0004-Element-Values-Are-Equal] StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest with a value of 1361962000 is not equal to the total of StockholdersEquity, MinorityInterest with a value of 1136920000 + 223509000. These values should be equal. The properties of this StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest fact are Context: c-8, Unit: usd, Rule Element Id: 9282. codi-20230630.htm 4</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-Q" original="codi-20230630.htm">codi-20230630.htm</File>
    <File>a06302023-ex311.htm</File>
    <File>a06302023-ex312.htm</File>
    <File>a06302023-ex321.htm</File>
    <File>a06302023-ex322.htm</File>
    <File>codi-20230630.xsd</File>
    <File>codi-20230630_cal.xml</File>
    <File>codi-20230630_def.xml</File>
    <File>codi-20230630_lab.xml</File>
    <File>codi-20230630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1486">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="39">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
