XML 120 R99.htm IDEA: XBRL DOCUMENT
v3.22.1

Restricted Net Assets - Additional Information (Detail) ¥ in Thousands, $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2021 CNY (¥) | Dec. 31, 2021 USD ($)
Restricted Assets Disclosure [Line Items] |  |
Reserve Fund As a Percentage Of Registered Capital | 50.00% | 50.00%
Variable Interest Entity, Primary Beneficiary [Member] | CHINA |  |
Restricted Assets Disclosure [Line Items] |  |
Restricted assets | ¥ 3,438,575 | $ 539,587
Minimum [Member] | Variable Interest Entity, Primary Beneficiary [Member] | CHINA |  |
Restricted Assets Disclosure [Line Items] |  |
Percentage Of Annual After Tax Profit To Be Allocated To Statutory Reserves | 10.00% |
Statutory Funds As A Percentage Of Registered Capital | 50.00% |
Minimum [Member] | Subsidiaries [Member] | CHINA |  |
Restricted Assets Disclosure [Line Items] |  |
Percentage Of Annual After Tax Profit to Be Allocated To Reserve Fund | 10.00% |
Percentage Of Annual After Tax Profit To Be Allocated To Statutory Reserves | 10.00% |
Statutory Funds As A Percentage Of Registered Capital | 50.00% |

X
- Definition Percentage of annual after tax profit to be allocated to reserve fund. + References No definition available. + Details
Name: | kc_PercentageOfAnnualAfterTaxProfitToBeAllocatedToReserveFund
Namespace Prefix: | kc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of annual after tax profit to be allocated to statutory reserves. + References No definition available. + Details
Name: | kc_PercentageOfAnnualAfterTaxProfitToBeAllocatedToStatutoryReserves
Namespace Prefix: | kc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Reserve fund as a percentage of registered capital. + References No definition available. + Details
Name: | kc_ReserveFundAsAPercentageOfRegisteredCapital
Namespace Prefix: | kc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Restricted assets disclosure. + References No definition available. + Details
Name: | kc_RestrictedAssetsDisclosureLineItems
Namespace Prefix: | kc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Statutory funds as a percentage of registered capital. + References No definition available. + Details
Name: | kc_StatutoryFundsAsAPercentageOfRegisteredCapital
Namespace Prefix: | kc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Total assets that cannot be used for operating purposes because of contract or regulatory requirements that are in effect for a period that extends beyond one year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 210 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=120413173&loc=SL6242262-115580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 210 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=120413209&loc=SL6242269-115581 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_OtherRestrictedAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_CN
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=srt_SubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |