<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>6</ContextCount>
  <ElementCount>26</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>1</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>1</UnitCount>
  <MyReports>
    <Report instance="ny20042318x1_def14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995100 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/dei/role/document/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ny20042318x1_def14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ny20042318x1_def14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995443 - Disclosure - Award Timing Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure</Role>
      <ShortName>Award Timing Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ny20042318x1_def14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>codi-20240529.xsd</File>
    <File>codi-20240529_def.xml</File>
    <File>codi-20240529_lab.xml</File>
    <File>codi-20240529_pre.xml</File>
    <File doctype="DEF 14A" isProxy="true" isUsgaap="true" original="ny20042318x1_def14a.htm">ny20042318x1_def14a.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>logo_compass.jpg</File>
    <File>ny20042318x1_asbhathal.jpg</File>
    <File>ny20042318x1_bcv.jpg</File>
    <File>ny20042318x1_cov.jpg</File>
    <File>ny20042318x1_culture.jpg</File>
    <File>ny20042318x1_date.jpg</File>
    <File>ny20042318x1_edge.jpg</File>
    <File>ny20042318x1_ejsabo.jpg</File>
    <File>ny20042318x1_gmburns.jpg</File>
    <File>ny20042318x1_hlsimon.jpg</File>
    <File>ny20042318x1_hsedwards.jpg</File>
    <File>ny20042318x1_icon1.jpg</File>
    <File>ny20042318x1_icon2.jpg</File>
    <File>ny20042318x1_icon3.jpg</File>
    <File>ny20042318x1_jbottiglieri1.jpg</File>
    <File>ny20042318x1_llenterline.jpg</File>
    <File>ny20042318x1_nbmahon.jpg</File>
    <File>ny20042318x1_pc01.jpg</File>
    <File>ny20042318x1_pc02.jpg</File>
    <File>ny20042318x1_proposal1.jpg</File>
    <File>ny20042318x1_proposal2.jpg</File>
    <File>ny20042318x1_proposal3.jpg</File>
    <File>ny20042318x1_pvpchart1.jpg</File>
    <File>ny20042318x1_pvpchart2.jpg</File>
    <File>ny20042318x1_pvpchart3.jpg</File>
    <File>ny20042318x1_sidebar02.jpg</File>
    <File>ny20042318x1_sidebar03.jpg</File>
    <File>ny20042318x1_sidebar04.jpg</File>
    <File>ny20042318x1_sidebar05.jpg</File>
    <File>ny20042318x1_sidebar08.jpg</File>
    <File>ny20042318x1_sidebar11.jpg</File>
    <File>ny20042318x1_sidebar12.jpg</File>
    <File>ny20042318x1_sidebar17.jpg</File>
    <File>ny20042318x1_sidebar18.jpg</File>
    <File>ny20042318x1_skeller.jpg</File>
    <File>ny20042318x1_sustain.jpg</File>
    <File>ny20042318x1_time.jpg</File>
    <File>ny20042318x1_titleimg02x2.jpg</File>
    <File>ny20042318x1_titleimg02z.jpg</File>
    <File>ny20042318x1_titleimg18.jpg</File>
    <File>ny20042318x1_topbar.jpg</File>
    <File>ny20042318x1_trshaffer.jpg</File>
    <File>ny20042318x1_vote-tab.jpg</File>
    <File>ny20042318x1_vote.jpg</File>
    <File>sig_cwryan.jpg</File>
    <File>sig_llenterline.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="6">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="47">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
