v3.22.2.2

Leases - Additional Information (Details) $ in Thousands | 9 Months Ended |
--- | --- | ---
Sep. 30, 2022 USD ($) branch location | Dec. 31, 2021 USD ($)
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |
Number of full service branches | branch | 4 |
Number of other locations | location | 4 |
Weighted average discount rate | 2.01% | 2.23%
ROU assets | $ 2,399 | $ 2,466
Lease liability | $ 2,664 | $ 2,735
Minimum |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |
Remaining term of contract | 1 year |
Maximum |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |
Remaining term of contract | 6 years |

X
- Definition Lessee, Operating Lease, Number Of Full Service Branches + References No definition available. + Details
Name: | cbnk_LesseeOperatingLeaseNumberOfFullServiceBranches
Namespace Prefix: | cbnk_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Lessee, Operating Lease, Number Of Other Locations + References No definition available. + Details
Name: | cbnk_LesseeOperatingLeaseNumberOfOtherLocations
Namespace Prefix: | cbnk_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Lessee, Operating Lease, Remaining Term Of Contract + References No definition available. + Details
Name: | cbnk_LesseeOperatingLeaseRemainingTermOfContract
Namespace Prefix: | cbnk_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Operating Lease, Right-Of-Use Asset, Net + References No definition available. + Details
Name: | cbnk_OperatingLeaseRightOfUseAssetNet
Namespace Prefix: | cbnk_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Weighted average discount rate for operating lease calculated at point in time. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (g)(4) -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 55 -Paragraph 53 -URI https://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971 + Details
Name: | us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |