XML 84 R63.htm IDEA: XBRL DOCUMENT
v3.22.1

Revenues - Summary of Disaggregation of Revenue (Detail) ¥ in Thousands, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 CNY (¥) | Dec. 31, 2021 USD ($) | Dec. 31, 2020 CNY (¥) | Dec. 31, 2019 CNY (¥)
Disaggregation of Revenue [Line Items] |  |  |  |
Revenue from contract with customer, excluding assessed tax | ¥ 9,060,784 | $ 1,421,835 | ¥ 6,577,307 | ¥ 3,956,353
Public Cloud Services [Member] | Transferred over Time [Member] |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenue from contract with customer, excluding assessed tax | 6,159,085 | 966,495 | 5,166,851 | 3,458,843
Enterprise Cloud Services [Member] |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenue from contract with customer, excluding assessed tax | 2,897,817 | 454,731 | 1,372,689 | 486,308
Enterprise Cloud Services [Member] | Transferred at Point in Time [Member] |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenue from contract with customer, excluding assessed tax | 2,159,869 | 338,931 | 1,368,544 | 485,991
Enterprise Cloud Services [Member] | Transferred over Time [Member] |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenue from contract with customer, excluding assessed tax | 737,948 | 115,800 | 4,145 | 317
Product and Service, Other [Member] |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenue from contract with customer, excluding assessed tax | 3,882 | 609 | 37,767 | 11,202
Product and Service, Other [Member] | Transferred at Point in Time [Member] |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenue from contract with customer, excluding assessed tax | 1,208 | 190 | 36,611 | ¥ 11,202
Product and Service, Other [Member] | Transferred over Time [Member] |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenue from contract with customer, excluding assessed tax | ¥ 2,674 | $ 419 | ¥ 1,156 |

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

X
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 40 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 41 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130543-203045 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 42 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 924 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 11.L) -URI http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856 + Details
Name: | us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax
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_TimingOfTransferOfGoodOrServiceAxis=us-gaap_TransferredOverTimeMember
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: |

X
- Details
Name: | us-gaap_TimingOfTransferOfGoodOrServiceAxis=us-gaap_TransferredAtPointInTimeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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