XML 115 R98.htm IDEA: XBRL DOCUMENT
v3.22.1

Other income (expenses) - Schedule of Other Nonoperating Income by Component (Detail) ¥ in Thousands, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 CNY (¥) | Dec. 31, 2021 USD ($) | Dec. 31, 2020 CNY (¥) | Dec. 31, 2019 CNY (¥)
Other Income, Nonoperating [Abstract] |  |  |  |
Government grants | ¥ 20,879 | $ 3,276 | ¥ 10,346 | ¥ 12,546
Gain on an equity investment sold | 0 | 0 | 0 | 6,778
Unrealized gain on equity investments held |  |  |  | 17,298
Impairment for long-term investments | (25,370) | (3,981) | (39,181) |
Impairment for loan receivables | (528) | (83) | (4,500) | 0
Income from ADR profit-sharing program | 2,111 | 332 | 2,257 | 2,190
Others |  |  | 264 |
Total | ¥ (2,908) | $ (456) | ¥ (30,814) | ¥ 38,812

X
- Definition Government grants. + References No definition available. + Details
Name: | jg_GovernmentGrants
Namespace Prefix: | jg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Impairment for loans receivables. + References No definition available. + Details
Name: | jg_ImpairmentForLoansReceivables
Namespace Prefix: | jg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Impairment for long-term investments. + References No definition available. + Details
Name: | jg_ImpairmentForLongTermInvestments
Namespace Prefix: | jg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Income from ADR profit-sharing program + References No definition available. + Details
Name: | jg_IncomeFromAdrProfitsharingProgram
Namespace Prefix: | jg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Other miscellaneous income. + References No definition available. + Details
Name: | jg_OtherMiscellaneousIncome
Namespace Prefix: | jg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of realized gain from sale 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/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123583765&loc=SL75117546-209714 + Details
Name: | us-gaap_EquitySecuritiesFvNiRealizedGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of unrealized gain on 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 -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123583765&loc=SL75117546-209714 + Details
Name: | us-gaap_EquitySecuritiesFvNiUnrealizedGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of revenue and income classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.4) -URI http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 + Details
Name: | us-gaap_OtherIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_OtherIncomeDisclosureNonoperatingAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration