v3.24.1.1.u2

Leases - Additional Information (Details) $ in Thousands | 3 Months Ended |
--- | --- | ---
Mar. 31, 2024 USD ($) branch location | Dec. 31, 2023 USD ($)
Lessee, Lease, Description [Line Items] |  |
Number of full service branches | branch | 4 |
Number of other locations | location | 4 |
Weighted average discount rate | 3.87% | 3.79%
ROU assets | $ 3,013 | $ 3,587
Present value of net future lease payments | $ 3,494 | $ 3,791
Minimum |  |
Lessee, Lease, Description [Line Items] |  |
Remaining term of contract | 1 year |
Maximum |  |
Lessee, Lease, Description [Line Items] |  |
Remaining term of contract | 9 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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-3 + Details
Name: | us-gaap_LesseeLeaseDescriptionLineItems
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 -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479041/842-20-45-1 + 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/exampleRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 53 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479589/842-20-55-53 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (g)(4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-4 + 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: |