XML 82 R59.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Total carrying value of equity (Details) ¥ in Thousands, $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2023 CNY (¥) | Dec. 31, 2023 USD ($) | Dec. 31, 2022 CNY (¥) | Dec. 31, 2021 CNY (¥) | Dec. 31, 2023 USD ($)
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |  |  |  |
Equity investments with readily determinable fair value, total fair value | ¥ 30,273 |  | ¥ 44,808 |  | $ 4,264
Purchase consideration payable, total losses | (14,433) | $ (2,033) | (28,516) | ¥ (9,249) |
Equity investments with readily determinable fair value, total losses | 0 | $ 0 | (22,452) | ¥ (82,492) |
Recurring |  |  |  |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |  |  |  |
Purchase consideration payable, total fair value | (678,732) |  | (1,208,985) |  |
Equity investments with readily determinable fair value, total fair value | 30,273 |  | 44,808 |  |
Purchase consideration payable, total losses | (14,433) |  | (28,516) |  |
Equity investments with readily determinable fair value, total losses | (12,469) |  | (22,683) |  |
Non-recurring |  |  |  |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |  |  |  |
Equity investments accounted for using measurement alternative | 215,898 |  | 228,772 |  |
Long-lived assets in public cloud asset group (Note 8) | 3,026,228 |  |  |  |
Assets and liabilities measured at fair value on a recurring basis long-lived assets in public cloud asset group | (653,670) |  |  |  |
Equity investments accounted for using measurement alternative, total gains (losses) |  |  | 22,452 |  |
FairValueInputsLevel1Member | Recurring |  |  |  |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |  |  |  |
Equity investments with readily determinable fair value, total fair value | 30,273 |  | 44,808 |  |
FairValueInputsLevel2Member | Recurring |  |  |  |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |  |  |  |
Purchase consideration payable, total fair value | (678,732) |  | (1,208,985) |  |
FairValueInputsLevel3Member | Non-recurring |  |  |  |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |  |  |  |
Equity investments accounted for using measurement alternative | 215,898 |  | ¥ 228,772 |  |
Long-lived assets in public cloud asset group (Note 8) | ¥ 3,026,228 |  |  |  |

X
- Definition The amount of long-lived assets in public cloud asset group. + References No definition available. + Details
Name: | kc_AssetsAndLiabilitiesRemeasuredAtFairValueOnNonRecurringBasisLongLivedAssetsInPublicCloudAssetGroup
Namespace Prefix: | kc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Changes in fair value of consideration of a business acquisition. + References No definition available. + Details
Name: | kc_ChangesInFairValueOfConsiderationOfABusinessAcquisition
Namespace Prefix: | kc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Equity Investments Accounted for Using Measurement Alternative, Total Gains (Losses) + References No definition available. + Details
Name: | kc_EquityInvestmentsAccountedForUsingMeasurementAlternativeTotalGainsLosses
Namespace Prefix: | kc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of long-lived assets in public cloud asset group. + References No definition available. + Details
Name: | kc_LongLivedAssetsInPublicCloudAssetGroup
Namespace Prefix: | kc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment other than investment in equity security, investment in debt security and equity method investment. Includes, but is not limited to, investment in certain entities that calculate net asset value per share. Example includes, but is not limited to, investment in hedge fund, venture capital fund, private equity fund, and real estate partnership or fund. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 35 -Paragraph 54B -Publisher FASB -URI https://asc.fasb.org//1943274/2147482134/820-10-35-54B Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-6A + Details
Name: | us-gaap_AlternativeInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of liability recognized arising from contingent consideration in a business combination. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479581/805-30-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479668/805-30-25-6 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 35 -Paragraph 1 -Subparagraph (b) -SubTopic 30 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479613/805-30-35-1 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org//1943274/2147482736/825-10-45-1A + Details
Name: | us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of gain from upward price adjustment on investment in equity security without readily determinable fair value. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 321 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479536/321-10-50-3 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-3 + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsNonrecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |