<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>303</ContextCount>
  <ElementCount>553</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>91</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0002002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001003 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/CONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ccs-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://www.consensus.com/role/CONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ccs-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://www.consensus.com/role/CONSOLIDATEDSTATEMENTSOFINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004006 - Statement - CONSOLIDATED STATEMENTS OF INCOME (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1005007 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1006008 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1007009 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS??? (DEFICIT) EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSDEFICITEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS??? (DEFICIT) EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2101101 - Disclosure - The Company</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/TheCompany</Role>
      <ShortName>The Company</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2103102 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2106103 - Disclosure - Revenues</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/Revenues</Role>
      <ShortName>Revenues</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2110104 - Disclosure - Business Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/BusinessAcquisitions</Role>
      <ShortName>Business Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2115105 - Disclosure - Discontinued Operations and Disposition of Businesses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/DiscontinuedOperationsandDispositionofBusinesses</Role>
      <ShortName>Discontinued Operations and Disposition of Businesses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2121106 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2126107 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/PropertyandEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2129108 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/GoodwillandIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2136109 - Disclosure - Long-Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/LongTermDebt</Role>
      <ShortName>Long-Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2142110 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2149111 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2151112 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2158113 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2160114 - Disclosure - Equity Incentive and Employee Stock Purchase Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/EquityIncentiveandEmployeeStockPurchasePlan</Role>
      <ShortName>Equity Incentive and Employee Stock Purchase Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2167115 - Disclosure - Defined Contribution 401(k) Savings Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/DefinedContribution401kSavingsPlan</Role>
      <ShortName>Defined Contribution 401(k) Savings Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2169116 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2172117 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/SegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2176118 - Disclosure - Supplemental Cash Flows Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/SupplementalCashFlowsInformation</Role>
      <ShortName>Supplemental Cash Flows Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2178119 - Disclosure - Accumulated Other Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/AccumulatedOtherComprehensiveIncomeLoss</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2181120 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2183121 - Disclosure - Subsequent Event</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/SubsequentEvent</Role>
      <ShortName>Subsequent Event</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2185122 - Disclosure - SCHEDULE II - VALUATION AND QUALIFYING ACCOUNTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/SCHEDULEIIVALUATIONANDQUALIFYINGACCOUNTS</Role>
      <ShortName>SCHEDULE II - VALUATION AND QUALIFYING ACCOUNTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2204201 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Policy)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesPolicy</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Policy)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.consensus.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Revenues (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/RevenuesTables</Role>
      <ShortName>Revenues (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.consensus.com/role/Revenues</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2311302 - Disclosure - Business Acquisitions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/BusinessAcquisitionsTables</Role>
      <ShortName>Business Acquisitions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.consensus.com/role/BusinessAcquisitions</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2316303 - Disclosure - Discontinued Operations and Disposition of Businesses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/DiscontinuedOperationsandDispositionofBusinessesTables</Role>
      <ShortName>Discontinued Operations and Disposition of Businesses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.consensus.com/role/DiscontinuedOperationsandDispositionofBusinesses</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2322304 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.consensus.com/role/FairValueMeasurements</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2327305 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/PropertyandEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.consensus.com/role/PropertyandEquipment</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2330306 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/GoodwillandIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.consensus.com/role/GoodwillandIntangibleAssets</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2337307 - Disclosure - Long-Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/LongTermDebtTables</Role>
      <ShortName>Long-Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.consensus.com/role/LongTermDebt</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2343308 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.consensus.com/role/Leases</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2352309 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.consensus.com/role/IncomeTaxes</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2361310 - Disclosure - Equity Incentive and Employee Stock Purchase Plan (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/EquityIncentiveandEmployeeStockPurchasePlanTables</Role>
      <ShortName>Equity Incentive and Employee Stock Purchase Plan (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.consensus.com/role/EquityIncentiveandEmployeeStockPurchasePlan</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2370311 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.consensus.com/role/EarningsPerShare</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2373312 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/SegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.consensus.com/role/SegmentInformation</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2379313 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/AccumulatedOtherComprehensiveIncomeLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.consensus.com/role/AccumulatedOtherComprehensiveIncomeLoss</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2402401 - Disclosure - The Company (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/TheCompanyDetails</Role>
      <ShortName>The Company (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/TheCompany</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesPolicy</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Revenues - Disaggregation of Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/RevenuesDisaggregationofRevenueDetails</Role>
      <ShortName>Revenues - Disaggregation of Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Revenues - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/RevenuesNarrativeDetails</Role>
      <ShortName>Revenues - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2412405 - Disclosure - Business Acquisitions - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/BusinessAcquisitionsNarrativeDetails</Role>
      <ShortName>Business Acquisitions - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2413406 - Disclosure - Business Acquisitions - Allocation of Aggregate Purchase Consideration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/BusinessAcquisitionsAllocationofAggregatePurchaseConsiderationDetails</Role>
      <ShortName>Business Acquisitions - Allocation of Aggregate Purchase Consideration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2414407 - Disclosure - Business Acquisitions - Supplementary Information on Unaudited Pro Forma Financial Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/BusinessAcquisitionsSupplementaryInformationonUnauditedProFormaFinancialBasisDetails</Role>
      <ShortName>Business Acquisitions - Supplementary Information on Unaudited Pro Forma Financial Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2417408 - Disclosure - Discontinued Operations and Disposition of Businesses - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/DiscontinuedOperationsandDispositionofBusinessesNarrativeDetails</Role>
      <ShortName>Discontinued Operations and Disposition of Businesses - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/DiscontinuedOperationsandDispositionofBusinessesTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2418409 - Disclosure - Discontinued Operations and Disposition of Businesses - Major Classes of Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/DiscontinuedOperationsandDispositionofBusinessesMajorClassesofAssetsandLiabilitiesDetails</Role>
      <ShortName>Discontinued Operations and Disposition of Businesses - Major Classes of Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2419410 - Disclosure - Discontinued Operations and Disposition of Businesses - Key Components of Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/DiscontinuedOperationsandDispositionofBusinessesKeyComponentsofIncomeDetails</Role>
      <ShortName>Discontinued Operations and Disposition of Businesses - Key Components of Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2420411 - Disclosure - Discontinued Operations and Disposition of Businesses - Key Components of Cash Flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/DiscontinuedOperationsandDispositionofBusinessesKeyComponentsofCashFlowsDetails</Role>
      <ShortName>Discontinued Operations and Disposition of Businesses - Key Components of Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2423412 - Disclosure - Fair Value Measurements - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/FairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2424413 - Disclosure - Fair Value Measurements - Fair Values of Financial Instruments Measured On Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/FairValueMeasurementsFairValuesofFinancialInstrumentsMeasuredOnRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements - Fair Values of Financial Instruments Measured On Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2425414 - Disclosure - Fair Value Measurements - Reconciliation of Level 3 Financial Liabilities Measured on Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/FairValueMeasurementsReconciliationofLevel3FinancialLiabilitiesMeasuredonRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements - Reconciliation of Level 3 Financial Liabilities Measured on Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2428415 - Disclosure - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/PropertyandEquipmentDetails</Role>
      <ShortName>Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/PropertyandEquipmentTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2431416 - Disclosure - Goodwill and Intangible Assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/GoodwillandIntangibleAssetsNarrativeDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2432417 - Disclosure - Goodwill and Intangible Assets - Changes in Carrying Amounts of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/GoodwillandIntangibleAssetsChangesinCarryingAmountsofGoodwillDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Changes in Carrying Amounts of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2433418 - Disclosure - Goodwill And Intangible Assets - Indefinite Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/GoodwillAndIntangibleAssetsIndefiniteIntangibleAssetsDetails</Role>
      <ShortName>Goodwill And Intangible Assets - Indefinite Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2434419 - Disclosure - Goodwill and Intangible Assets - Intangible Assets Subject to Amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/GoodwillandIntangibleAssetsIntangibleAssetsSubjecttoAmortizationDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Intangible Assets Subject to Amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2435420 - Disclosure - Goodwill And Intangible Assets - Expected Amortization Expenses for Intangible Assets Subject To Amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/GoodwillAndIntangibleAssetsExpectedAmortizationExpensesforIntangibleAssetsSubjectToAmortizationDetails</Role>
      <ShortName>Goodwill And Intangible Assets - Expected Amortization Expenses for Intangible Assets Subject To Amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2438421 - Disclosure - Long-Term Debt - Summary of Long-term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/LongTermDebtSummaryofLongtermDebtDetails</Role>
      <ShortName>Long-Term Debt - Summary of Long-term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2439422 - Disclosure - Long-Term Debt - Future Principal Payments for Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/LongTermDebtFuturePrincipalPaymentsforDebtDetails</Role>
      <ShortName>Long-Term Debt - Future Principal Payments for Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2440423 - Disclosure - Long-Term Debt - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/LongTermDebtNarrativeDetails</Role>
      <ShortName>Long-Term Debt - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2441424 - Disclosure - Long-Term Debt - Additional Information Related to Senior Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.consensus.com/role/LongTermDebtAdditionalInformationRelatedtoSeniorNotesDetails</Role>
      <ShortName>Long-Term Debt - Additional Information Related to Senior Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2444425 - Disclosure - Leases - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/LeasesNarrativeDetails</Role>
      <ShortName>Leases - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2445426 - Disclosure - Leases - Components of Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/LeasesComponentsofLeaseExpenseDetails</Role>
      <ShortName>Leases - Components of Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2446427 - Disclosure - Leases - Balance Sheet and Other Supplemental Operating Lease Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/LeasesBalanceSheetandOtherSupplementalOperatingLeaseInformationDetails</Role>
      <ShortName>Leases - Balance Sheet and Other Supplemental Operating Lease Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2447428 - Disclosure - Leases - Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/LeasesSupplementalCashFlowInformationDetails</Role>
      <ShortName>Leases - Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2448429 - Disclosure - Leases - Maturities of Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/LeasesMaturitiesofLeaseLiabilitiesDetails</Role>
      <ShortName>Leases - Maturities of Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2450430 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/CommitmentsandContingencies</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2453431 - Disclosure - Income Taxes - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2454432 - Disclosure - Income Taxes - Provision for Income Tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/IncomeTaxesProvisionforIncomeTaxDetails</Role>
      <ShortName>Income Taxes - Provision for Income Tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2455433 - Disclosure - Income Taxes - Reconciliation of Effective Income Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/IncomeTaxesReconciliationofEffectiveIncomeTaxRateDetails</Role>
      <ShortName>Income Taxes - Reconciliation of Effective Income Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2456434 - Disclosure - Income Taxes - Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2457435 - Disclosure - Income Taxes - Reconciliation of Unrecognized Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/IncomeTaxesReconciliationofUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Taxes - Reconciliation of Unrecognized Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2459436 - Disclosure - Stockholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/StockholdersEquityDetails</Role>
      <ShortName>Stockholders' Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/StockholdersEquity</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2462437 - Disclosure - Equity Incentive and Employee Stock Purchase Plan - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/EquityIncentiveandEmployeeStockPurchasePlanNarrativeDetails</Role>
      <ShortName>Equity Incentive and Employee Stock Purchase Plan - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/EquityIncentiveandEmployeeStockPurchasePlanTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2463438 - Disclosure - Equity Incentive and Employee Stock Purchase Plan - Valuation Assumptions of Market-based Restricted Stock Awards Granted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/EquityIncentiveandEmployeeStockPurchasePlanValuationAssumptionsofMarketbasedRestrictedStockAwardsGrantedDetails</Role>
      <ShortName>Equity Incentive and Employee Stock Purchase Plan - Valuation Assumptions of Market-based Restricted Stock Awards Granted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2464439 - Disclosure - Equity Incentive and Employee Stock Purchase Plan - Restricted Stock and Restricted Stock Unit Award Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/EquityIncentiveandEmployeeStockPurchasePlanRestrictedStockandRestrictedStockUnitAwardActivityDetails</Role>
      <ShortName>Equity Incentive and Employee Stock Purchase Plan - Restricted Stock and Restricted Stock Unit Award Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2465440 - Disclosure - Equity Incentive and Employee Stock Purchase Plan - Valuation Assumptions of Purchase Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/EquityIncentiveandEmployeeStockPurchasePlanValuationAssumptionsofPurchasePlanDetails</Role>
      <ShortName>Equity Incentive and Employee Stock Purchase Plan - Valuation Assumptions of Purchase Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2466441 - Disclosure - Equity Incentive and Employee Stock Purchase Plan - Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/EquityIncentiveandEmployeeStockPurchasePlanStockOptionActivityDetails</Role>
      <ShortName>Equity Incentive and Employee Stock Purchase Plan - Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2468442 - Disclosure - Defined Contribution 401(k) Savings Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/DefinedContribution401kSavingsPlanDetails</Role>
      <ShortName>Defined Contribution 401(k) Savings Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/DefinedContribution401kSavingsPlan</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2471443 - Disclosure - Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/EarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/EarningsPerShareTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>2474444 - Disclosure - Segment Information - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/SegmentInformationNarrativeDetails</Role>
      <ShortName>Segment Information - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>2475445 - Disclosure - Segment Information - Revenues and Long-lived Assets by Geographic Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/SegmentInformationRevenuesandLonglivedAssetsbyGeographicInformationDetails</Role>
      <ShortName>Segment Information - Revenues and Long-lived Assets by Geographic Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>2477446 - Disclosure - Supplemental Cash Flows Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/SupplementalCashFlowsInformationDetails</Role>
      <ShortName>Supplemental Cash Flows Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/SupplementalCashFlowsInformation</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>2480447 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/AccumulatedOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/AccumulatedOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>2482448 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/RelatedPartyTransactions</ParentRole>
      <Position>93</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>2484449 - Disclosure - Subsequent Event (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/SubsequentEventDetails</Role>
      <ShortName>Subsequent Event (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/SubsequentEvent</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="ccs-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>2486450 - Disclosure - SCHEDULE II - VALUATION AND QUALIFYING ACCOUNTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.consensus.com/role/SCHEDULEIIVALUATIONANDQUALIFYINGACCOUNTSDetails</Role>
      <ShortName>SCHEDULE II - VALUATION AND QUALIFYING ACCOUNTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.consensus.com/role/SCHEDULEIIVALUATIONANDQUALIFYINGACCOUNTS</ParentRole>
      <Position>95</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="ccs-20211231.htm">ccs-20211231.htm</File>
    <File>ccs-20211231.xsd</File>
    <File>ccs-20211231_cal.xml</File>
    <File>ccs-20211231_def.xml</File>
    <File>ccs-20211231_lab.xml</File>
    <File>ccs-20211231_pre.xml</File>
    <File>ccsi20211231ex-211.htm</File>
    <File>ccsi20211231ex-231.htm</File>
    <File>ccsi20211231ex-311.htm</File>
    <File>ccsi20211231ex-312.htm</File>
    <File>ccsi20211231ex-321.htm</File>
    <File>ccsi20211231ex-45.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>ccs-20211231_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="1274">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>
