<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.8.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>482</ContextCount>
  <ElementCount>598</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>94</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - CONSOLIDATED STATEMENTS OF INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ConsolidatedStatementsOfIncome</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ConsolidatedStatementsOfChangesInShareholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1004001 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1005000 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/Acquisitions</Role>
      <ShortName>Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Investment Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/InvestmentSecurities</Role>
      <ShortName>Investment Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Loans and Allowance for Credit Losses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansAndAllowanceForCreditLosses</Role>
      <ShortName>Loans and Allowance for Credit Losses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Bank Premises and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/BankPremisesAndEquipment</Role>
      <ShortName>Bank Premises and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/GoodwillAndIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Deposits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/Deposits</Role>
      <ShortName>Deposits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Borrowing Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/BorrowingArrangements</Role>
      <ShortName>Borrowing Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Junior Subordinated Deferrable Interest Debentures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/JuniorSubordinatedDeferrableInterestDebentures</Role>
      <ShortName>Junior Subordinated Deferrable Interest Debentures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ShareholdersEquity</Role>
      <ShortName>Shareholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Share-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ShareBasedCompensation</Role>
      <ShortName>Share-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Employee Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/EmployeeBenefits</Role>
      <ShortName>Employee Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - Loans To Related Parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansToRelatedParties</Role>
      <ShortName>Loans To Related Parties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Parent Only Condensed Financial Statements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ParentOnlyCondensedFinancialStatements</Role>
      <ShortName>Parent Only Condensed Financial Statements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2302301 - Disclosure - Acquisitions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/AcquisitionsTables</Role>
      <ShortName>Acquisitions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/Acquisitions</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/FairValueMeasurements</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Investment Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/InvestmentSecuritiesTables</Role>
      <ShortName>Investment Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/InvestmentSecurities</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Loans and Allowance for Credit Losses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansAndAllowanceForCreditLossesTables</Role>
      <ShortName>Loans and Allowance for Credit Losses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/LoansAndAllowanceForCreditLosses</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Bank Premises and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/BankPremisesAndEquipmentTables</Role>
      <ShortName>Bank Premises and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/BankPremisesAndEquipment</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/GoodwillAndIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/GoodwillAndIntangibleAssets</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Deposits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/DepositsTables</Role>
      <ShortName>Deposits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/Deposits</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/IncomeTaxes</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2314301 - Disclosure - Shareholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ShareholdersEquityTables</Role>
      <ShortName>Shareholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/ShareholdersEquity</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2315301 - Disclosure - Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ShareBasedCompensationTables</Role>
      <ShortName>Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/ShareBasedCompensation</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2317301 - Disclosure - Loans To Related Parties (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansToRelatedPartiesTables</Role>
      <ShortName>Loans To Related Parties (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/LoansToRelatedParties</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2318301 - Disclosure - Parent Only Condensed Financial Statements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ParentOnlyCondensedFinancialStatementsTables</Role>
      <ShortName>Parent Only Condensed Financial Statements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/ParentOnlyCondensedFinancialStatements</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2401402 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/SummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/SummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Acquisitions - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/AcquisitionsNarrativeDetails</Role>
      <ShortName>Acquisitions - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Acquisitions - Schedule of Assets Acquired and Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/AcquisitionsScheduleOfAssetsAcquiredAndLiabilitiesAssumedDetails</Role>
      <ShortName>Acquisitions - Schedule of Assets Acquired and Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Acquisitions - Proforma Results of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/AcquisitionsProformaResultsOfOperationsDetails</Role>
      <ShortName>Acquisitions - Proforma Results of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Fair Value Measurements - Fair Value by Balance Sheet Grouping (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/FairValueMeasurementsFairValueByBalanceSheetGroupingDetails</Role>
      <ShortName>Fair Value Measurements - Fair Value by Balance Sheet Grouping (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - Fair Value Measurements - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/FairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2403404 - Disclosure - Fair Value Measurements - Recurring and Nonrecurring (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/FairValueMeasurementsRecurringAndNonrecurringDetails</Role>
      <ShortName>Fair Value Measurements - Recurring and Nonrecurring (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Investment Securities - Carrying value and estimated fair value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/InvestmentSecuritiesCarryingValueAndEstimatedFairValueDetails</Role>
      <ShortName>Investment Securities - Carrying value and estimated fair value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Investment Securities - Realized gains and losses (Details) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/InvestmentSecuritiesRealizedGainsAndLossesDetailsDetails</Role>
      <ShortName>Investment Securities - Realized gains and losses (Details) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2404404 - Disclosure - Investment Securities - Unrealized losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/InvestmentSecuritiesUnrealizedLossesDetails</Role>
      <ShortName>Investment Securities - Unrealized losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2404405 - Disclosure - Investment Securities - Gross realized gains and losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/InvestmentSecuritiesGrossRealizedGainsAndLossesDetails</Role>
      <ShortName>Investment Securities - Gross realized gains and losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2404406 - Disclosure - Investment Securities - Credit loss rollforward (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/InvestmentSecuritiesCreditLossRollforwardDetails</Role>
      <ShortName>Investment Securities - Credit loss rollforward (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2404407 - Disclosure - Investment Securities - Investments by contractual maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/InvestmentSecuritiesInvestmentsByContractualMaturityDetails</Role>
      <ShortName>Investment Securities - Investments by contractual maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2404408 - Disclosure - Investment Securities - Textual (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/InvestmentSecuritiesTextualDetails</Role>
      <ShortName>Investment Securities - Textual (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Loans and Allowance for Credit Losses - Summary of outstanding loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansAndAllowanceForCreditLossesSummaryOfOutstandingLoansDetails</Role>
      <ShortName>Loans and Allowance for Credit Losses - Summary of outstanding loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2405403 - Disclosure - Loans and Allowance for Credit Losses - Purchased credit-impaired loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansAndAllowanceForCreditLossesPurchasedCreditImpairedLoansDetails</Role>
      <ShortName>Loans and Allowance for Credit Losses - Purchased credit-impaired loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2405404 - Disclosure - Loans and Allowance for Credit Losses - Changes in Allowance for Credit Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansAndAllowanceForCreditLossesChangesInAllowanceForCreditLossesDetails</Role>
      <ShortName>Loans and Allowance for Credit Losses - Changes in Allowance for Credit Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2405405 - Disclosure - Loans and Allowance for Credit Losses - Credit impaired loans acquired during the period (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansAndAllowanceForCreditLossesCreditImpairedLoansAcquiredDuringPeriodDetails</Role>
      <ShortName>Loans and Allowance for Credit Losses - Credit impaired loans acquired during the period (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2405406 - Disclosure - Loans and Allowance for Credit Losses - Loan Portfolio by Impairment Methodology (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansAndAllowanceForCreditLossesLoanPortfolioByImpairmentMethodologyDetails</Role>
      <ShortName>Loans and Allowance for Credit Losses - Loan Portfolio by Impairment Methodology (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2405407 - Disclosure - Loans and Allowance for Credit Losses - Loan Portfolio by Risk Rating (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansAndAllowanceForCreditLossesLoanPortfolioByRiskRatingDetails</Role>
      <ShortName>Loans and Allowance for Credit Losses - Loan Portfolio by Risk Rating (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2405408 - Disclosure - Loans and Allowance for Credit Losses - Loan Portfolio Aging (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansAndAllowanceForCreditLossesLoanPortfolioAgingDetails</Role>
      <ShortName>Loans and Allowance for Credit Losses - Loan Portfolio Aging (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2405409 - Disclosure - Loans and Allowance for Credit Losses - Impaired Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansAndAllowanceForCreditLossesImpairedLoansDetails</Role>
      <ShortName>Loans and Allowance for Credit Losses - Impaired Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2405410 - Disclosure - Loans and Allowance for Credit Losses - Troubled Debt Restructurings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansAndAllowanceForCreditLossesTroubledDebtRestructuringsDetails</Role>
      <ShortName>Loans and Allowance for Credit Losses - Troubled Debt Restructurings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Bank Premises and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/BankPremisesAndEquipmentDetails</Role>
      <ShortName>Bank Premises and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/BankPremisesAndEquipmentTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - Goodwill and Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/GoodwillAndIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/GoodwillAndIntangibleAssetsTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Goodwill and Intangible Assets - Change in Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/GoodwillAndIntangibleAssetsChangeInGoodwillDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Change in Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Goodwill and Intangible Assets - Future Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/GoodwillAndIntangibleAssetsFutureAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Future Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Deposits - Components of deposit liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/DepositsComponentsOfDepositLiabilitiesDetails</Role>
      <ShortName>Deposits - Components of deposit liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Deposits - Aggregate maturities of time deposits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/DepositsAggregateMaturitiesOfTimeDepositsDetails</Role>
      <ShortName>Deposits - Aggregate maturities of time deposits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Deposits - Components of interest expense recognized on interest-bearing deposits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/DepositsComponentsOfInterestExpenseRecognizedOnInterestBearingDepositsDetails</Role>
      <ShortName>Deposits - Components of interest expense recognized on interest-bearing deposits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2410401 - Disclosure - Borrowing Arrangements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/BorrowingArrangementsDetails</Role>
      <ShortName>Borrowing Arrangements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/BorrowingArrangements</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - Junior Subordinated Deferrable Interest Debentures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/JuniorSubordinatedDeferrableInterestDebenturesDetails</Role>
      <ShortName>Junior Subordinated Deferrable Interest Debentures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/JuniorSubordinatedDeferrableInterestDebentures</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Income Taxes - Components of income tax expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/IncomeTaxesComponentsOfIncomeTaxExpenseDetails</Role>
      <ShortName>Income Taxes - Components of income tax expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - Income Taxes - Components of deferred income taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/IncomeTaxesComponentsOfDeferredIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Components of deferred income taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2412404 - Disclosure - Income Taxes - Reconciliation of effective tax rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/IncomeTaxesReconciliationOfEffectiveTaxRateDetails</Role>
      <ShortName>Income Taxes - Reconciliation of effective tax rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2412405 - Disclosure - Income Taxes - Rollforward of uncertain tax positions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/IncomeTaxesRollforwardOfUncertainTaxPositionsDetails</Role>
      <ShortName>Income Taxes - Rollforward of uncertain tax positions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2412406 - Disclosure - Income Taxes - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Commitments and Contingencies - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/CommitmentsAndContingenciesLeasesDetails</Role>
      <ShortName>Commitments and Contingencies - Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2413403 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2414402 - Disclosure - Shareholders' Equity - Regulatory Capital (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ShareholdersEquityRegulatoryCapitalDetails</Role>
      <ShortName>Shareholders' Equity - Regulatory Capital (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2414403 - Disclosure - Shareholders' Equity - Dividends and Share Repurchases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ShareholdersEquityDividendsAndShareRepurchasesDetails</Role>
      <ShortName>Shareholders' Equity - Dividends and Share Repurchases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2414404 - Disclosure - Shareholders' Equity - Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ShareholdersEquityEarningsPerShareDetails</Role>
      <ShortName>Shareholders' Equity - Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - Share-Based Compensation - Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ShareBasedCompensationStockOptionActivityDetails</Role>
      <ShortName>Share-Based Compensation - Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2415403 - Disclosure - Share-Based Compensation - Restricted Common Stock Awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ShareBasedCompensationRestrictedCommonStockAwardsDetails</Role>
      <ShortName>Share-Based Compensation - Restricted Common Stock Awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2415404 - Disclosure - Share-Based Compensation - Textual (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ShareBasedCompensationTextualDetails</Role>
      <ShortName>Share-Based Compensation - Textual (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2416401 - Disclosure - Employee Benefits - 401(k) and profit sharing plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/EmployeeBenefits401KAndProfitSharingPlanDetails</Role>
      <ShortName>Employee Benefits - 401(k) and profit sharing plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Employee Benefits - Deferred compensation plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/EmployeeBenefitsDeferredCompensationPlanDetails</Role>
      <ShortName>Employee Benefits - Deferred compensation plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - Employee Benefits - Salary continuation plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/EmployeeBenefitsSalaryContinuationPlansDetails</Role>
      <ShortName>Employee Benefits - Salary continuation plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2417402 - Disclosure - Loans To Related Parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/LoansToRelatedPartiesDetails</Role>
      <ShortName>Loans To Related Parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cvcb.com/role/LoansToRelatedPartiesTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - Parent Only Condensed Financial Statements - Condensed Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ParentOnlyCondensedFinancialStatementsCondensedBalanceSheetsDetails</Role>
      <ShortName>Parent Only Condensed Financial Statements - Condensed Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>2418403 - Disclosure - Parent Only Condensed Financial Statements - Condensed Statements of Income and Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ParentOnlyCondensedFinancialStatementsCondensedStatementsOfIncomeAndComprehensiveIncomeDetails</Role>
      <ShortName>Parent Only Condensed Financial Statements - Condensed Statements of Income and Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="cvcy-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>2418404 - Disclosure - Parent Only Condensed Financial Statements - Condensed Statements of Cash Flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cvcb.com/role/ParentOnlyCondensedFinancialStatementsCondensedStatementsOfCashFlowsDetails</Role>
      <ShortName>Parent Only Condensed Financial Statements - Condensed Statements of Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>cvcy-20171231.xml</File>
    <File>cvcy-20171231.xsd</File>
    <File>cvcy-20171231_cal.xml</File>
    <File>cvcy-20171231_def.xml</File>
    <File>cvcy-20171231_lab.xml</File>
    <File>cvcy-20171231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/stpr/2011-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2014-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2017-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
