v3.19.1

Litigation (Details) - Lawsuit Pending In Circuit Court For Montgomery County, Maryland (Case No. 426478V) - Pending Litigation | 12 Months Ended
--- | ---
Dec. 31, 2018 USD ($) bank defendant count
Loss Contingencies [Line Items] |
Number of other banking institutions, defendants | bank | 2
Number of pending claims | count | 3
Number of defendants | defendant | 3
Estimate of possible loss | $ | $ 4,000,000.0

X
- Definition Loss Contingency, Number Of Other Banking Institutions, Defendants + References No definition available. + Details
Name: | cbnk_LossContingencyNumberOfOtherBankingInstitutionsDefendants
Namespace Prefix: | cbnk_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_LossContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Reflects the estimated amount of loss from the specified contingency as of the balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=82911808&loc=d3e14435-108349 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=82911808&loc=d3e14557-108349 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=115931803&loc=d3e12021-110248 + Details
Name: | us-gaap_LossContingencyEstimateOfPossibleLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of defendants named in a legal action. + References No definition available. + Details
Name: | us-gaap_LossContingencyNumberOfDefendants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of pending claims pertaining to a loss contingency. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82911808&loc=d3e14435-108349 + Details
Name: | us-gaap_LossContingencyPendingClaimsNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | srt_LitigationCaseAxis=cbnk_LawsuitPendingInCircuitCourtForMontgomeryCountyMarylandCaseNo.426478VMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LitigationStatusAxis=us-gaap_PendingLitigationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |