XML 124 R103.htm IDEA: XBRL DOCUMENT
v3.22.1

Related Party Transactions - Schedule Of Related Party Transactions (Detail) ¥ in Thousands, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 CNY (¥) | Dec. 31, 2021 USD ($) | Dec. 31, 2020 CNY (¥) | Dec. 31, 2019 CNY (¥)
Related Party Transaction [Line Items] |  |  |  |
Revenue from Related Parties | ¥ 929,524 | $ 145,863 | ¥ 777,369 | ¥ 688,307
Related Party Transaction, Amounts of Transaction | 91,843 | 14,412 | 63,878 | 41,734
Public cloud services [Member] | Kingsoft Group [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Revenue from Related Parties | 156,158 | 24,505 | 119,011 | 109,177
Public cloud services [Member] | Cheetah Group [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Revenue from Related Parties |  |  | 3,111 | 8,579
Public cloud services [Member] | Xiaomi Group [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Revenue from Related Parties | 749,597 | 117,628 | 655,165 | 570,431
Other Services [Member] | Kingsoft Group [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Revenue from Related Parties | 74 | 12 |  |
Other Services [Member] | Xiaomi Group [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Revenue from Related Parties |  |  | 82 | 120
Purchase of services [Member] | Xiaomi Group [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Related Party Transaction, Amounts of Transaction | 1,349 | 212 | 2,177 | 2,707
Interest expense on loan [Member] | Kingsoft Group [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Related Party Transaction, Amounts of Transaction | 4,088 | 641 |  | 4,925
Interest expense on loan [Member] | Xiaomi Group [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Related Party Transaction, Amounts of Transaction | 16,633 | 2,610 |  |
Rental of office space and administrative services [Member] | Kingsoft Group [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Related Party Transaction, Amounts of Transaction | 13,321 | 2,090 | 13,801 | 24,524
Rental of office space and administrative services [Member] | Xiaomi Group [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Related Party Transaction, Amounts of Transaction | 56,452 | 8,859 | ¥ 47,900 | ¥ 9,578
Enterprise cloud services [Member] | Kingsoft Group [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Revenue from Related Parties | 838 | 131 |  |
Enterprise cloud services [Member] | Xiaomi Group [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Revenue from Related Parties | ¥ 22,857 | $ 3,587 |  |

X
- Definition Amount of transactions with related party during the financial reporting period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864 + Details
Name: | us-gaap_RelatedPartyTransactionAmountsOfTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iv)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07.1(c)) -URI http://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(B)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(C)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(5)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(5)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iv)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1(e)) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 + Details
Name: | us-gaap_RevenueFromRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | srt_ProductOrServiceAxis=kc_PublicCloudServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | srt_ProductOrServiceAxis=kc_OtherServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=kc_PurchaseOfServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=kc_InterestExpenseOnLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=kc_RentalOfOfficeSpaceAndAdministrativeServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=kc_EnterpriseCloudServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |