XML 74 R57.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Significant Accounting Policies - Additional Information (Details) $ in Thousands | 1 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Oct. 31, 2023 CNY (¥) | May 31, 2023 CNY (¥) | Dec. 31, 2023 CNY (¥) Segment Agreement | Dec. 31, 2023 USD ($) Segment Agreement | Dec. 31, 2022 CNY (¥) | Dec. 31, 2021 CNY (¥) | Dec. 31, 2023 USD ($)
Significant Accounting Policies [Line Items] |  |  |  |  |  |  |
Noon buying rate |  |  | 7.0999 |  |  |  | 7.0999
Expected credit loss |  |  | ¥ 19,887,000 | $ 2,801 |  |  |
Expected credit losses provision, current |  |  | 19,887,000 |  |  |  |
Expected credit losses provision, non-current |  |  |  |  |  |  |
Recognized mezzanine adjustment amount |  |  | 2,975,000 |  |  |  |
Percentage of equity interest purchased by redeemable noncontrolling shareholders | 9.99% | 10.00% |  |  |  |  |
Redeemable non-controlling shareholders value | ¥ 134,664,000 | ¥ 22,197,000 |  |  |  |  |
Redeemable noncontrolling interests recognized |  | ¥ 50,129,000 |  |  |  |  |
Restricted cash |  |  | 21,248,000 |  | 41,383,000 |  |
Amounts charged to expenses included provided for accounts receivable |  |  | 6,464,000 |  |  |  |
Amounts charged to expenses included provided for amount due from related parties |  |  | ¥ 13,423,000 |  |  |  |
Number of agreements | Agreement |  |  | 2 | 2 |  |  |
Contract liability |  |  | ¥ 24,815,000 |  | 3,814,000 |  |
Contract asset |  |  | 0 |  | 0 |  |
Advances from customers |  |  | 41,579,000 |  | 16,652,000 |  | $ 5,856
Revenue recognized from performance obligations satisfied |  |  | 0 |  | 0 | 0 |
Advertising and marketing promotion expenses |  |  | 1,259,999,000 |  | 1,064,621,000 | 2,369,769,000 |
Employee social security and welfare benefits |  |  | 66,743,000 |  | 73,672,000 | 93,296,000 |
Interest and penalties associated with uncertain tax positions |  |  | 0 |  | 0 | 0 |
Unrecognized uncertain tax positions |  |  | ¥ 0 |  | 0 |  |
Number of major segments | Segment |  |  | 3 | 3 |  |  |
Statutory Surplus Fund |  |  |  |  |  |  |
Significant Accounting Policies [Line Items] |  |  |  |  |  |  |
Profit appropriation to statutory surplus fund |  |  |  |  | 2,825,000 | 1,301,000 |
Other Reserve Funds |  |  |  |  |  |  |
Significant Accounting Policies [Line Items] |  |  |  |  |  |  |
Profit appropriation to statutory surplus fund |  |  | ¥ 0 |  | ¥ 0 | ¥ 0 |
ASU 2017-04 |  |  |  |  |  |  |
Significant Accounting Policies [Line Items] |  |  |  |  |  |  |
Change in accounting principle, accounting standards update, adopted |  |  | true |  |  |  | true
Subsidiary |  |  |  |  |  |  |
Significant Accounting Policies [Line Items] |  |  |  |  |  |  |
Ordinary shares, voting rights |  |  | more than one half | more than one half |  |  |

X
- Definition Amount, excluding accrued interest, of allowance for credit loss on accounts receivable classified as noncurrent. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479344/326-20-45-1 + Details
Name: | us-gaap_AccountsReceivableAllowanceForCreditLossExcludingAccruedInterestNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Indicates (true false) whether accounting standards update was adopted. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 405 -SubTopic 50 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147477123/405-50-65-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482477/820-10-65-13 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482477/820-10-65-13 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479654/326-10-65-5 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479654/326-10-65-5 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480528/815-20-65-6 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480528/815-20-65-6 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 832 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483482/832-10-65-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479845/805-20-65-3 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479845/805-20-65-3 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479832/842-10-65-5 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479832/842-10-65-5 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 5 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479832/842-10-65-5 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480175/815-40-65-2 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 848 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483550/848-10-65-2 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 105 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479343/105-10-65-6 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 105 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479343/105-10-65-6 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480016/944-40-65-2 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480016/944-40-65-2 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479654/326-10-65-4 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479654/326-10-65-4 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 8 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482615/740-10-65-8 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 926 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483194/926-20-65-2 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 926 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483194/926-20-65-2 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482833/825-10-65-6 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482833/825-10-65-6 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480175/815-40-65-1 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480175/815-40-65-1 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481925/310-20-65-2 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481925/310-20-65-2 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483443/250-10-50-1 Reference 32: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480528/815-20-65-5 Reference 33: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482833/825-10-65-5 Reference 34: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479654/326-10-65-2 Reference 35: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 65 -Paragraph 3 -Subparagraph (a) -SubTopic 10 -Topic 326 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479654/326-10-65-3 Reference 36: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 65 -Paragraph 3 -Subparagraph (b) -SubTopic 10 -Topic 326 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479654/326-10-65-3 Reference 37: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 65 -Paragraph 4 -Subparagraph (a) -SubTopic 10 -Topic 842 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479832/842-10-65-4 + Details
Name: | us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | instant

X
- Definition Description of voting rights of common stock. Includes eligibility to vote and votes per share owned. Include also, if any, unusual voting rights. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-3 + Details
Name: | us-gaap_CommonStockVotingRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479837/606-10-45-3 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479837/606-10-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-8 + Details
Name: | us-gaap_ContractWithCustomerAssetNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479837/606-10-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-8 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479837/606-10-45-2 + Details
Name: | us-gaap_ContractWithCustomerLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of revenue recognized arising from contract liability from change in timeframe for performance obligation to be satisfied. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-10 + Details
Name: | us-gaap_ContractWithCustomerLiabilityChangeInTimeframePerformanceObligationSatisfiedRevenueRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479837/606-10-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-8 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479837/606-10-45-2 + Details
Name: | us-gaap_ContractWithCustomerLiabilityCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Foreign exchange rate used to translate amounts denominated in functional currency to reporting currency. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481674/830-30-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479424/830-30-S99-1 + Details
Name: | us-gaap_ForeignCurrencyExchangeRateTranslation1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(b)(4)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_LaborAndRelatedExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The total expense recognized in the period for promotion, public relations, and brand or product advertising. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_MarketingAndAdvertisingExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-18 + Details
Name: | us-gaap_NumberOfOperatingSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense (reversal of expense) for expected credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-13 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(5)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_ProvisionForDoubtfulAccounts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The aggregate fair value as of the reporting date of all noncontrolling interests which are redeemable by the (parent) entity (1) at a fixed or determinable price on a fixed or determinable date, (2) at the option of the holder of the noncontrolling interest, or (3) upon occurrence of an event that is not solely within the control of the (parent) entity. This item includes noncontrolling interest holder's ownership (or holders' ownership) regardless of the type of equity interest (common, preferred, other) including all potential organizational (legal) forms of the investee entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Subparagraph (12)(c) -Section S99 -Paragraph 3A -Publisher FASB -URI https://asc.fasb.org//1943274/2147480244/480-10-S99-3A Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Subparagraph 14 -Paragraph 3A -Section S99 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480244/480-10-S99-3A Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Subparagraph 15 -Paragraph 3A -Section S99 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480244/480-10-S99-3A Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Subparagraph (16)(c) -Paragraph 3A -Section S99 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480244/480-10-S99-3A + Details
Name: | us-gaap_RedeemableNoncontrollingInterestEquityFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cash restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482913/230-10-50-8 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(1)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 + Details
Name: | us-gaap_RestrictedCash
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition A segregation of retained earnings which is unavailable for dividend distribution. Includes also retained earnings appropriated for loss contingencies. + 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)(23)(a)(4)(i)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(e)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-03(30)(a)(3)(ii)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481142/505-10-45-3 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481142/505-10-45-4 + Details
Name: | us-gaap_RetainedEarningsAppropriated
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10B -Publisher FASB -URI https://asc.fasb.org//1943274/2147482525/740-10-45-10B + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of expense for penalties related to a tax position claimed or expected to be claimed in the tax return. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Allowance for credit loss charged to expenses included accounts receivable. + References No definition available. + Details
Name: | ysg_AllowanceForCreditLossChargedToExpensesIncludedAccountsReceivable
Namespace Prefix: | ysg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Allowance for credit loss charged to expenses included amount due from related parties. + References No definition available. + Details
Name: | ysg_AllowanceForCreditLossChargedToExpensesIncludedAmountDueFromRelatedParties
Namespace Prefix: | ysg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Allowance for doubtful accounts receivable including related party, current. + References No definition available. + Details
Name: | ysg_AllowanceForDoubtfulAccountsReceivableIncludingRelatedPartyCurrent
Namespace Prefix: | ysg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of agreements. + References No definition available. + Details
Name: | ysg_NumberOfAgreements
Namespace Prefix: | ysg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of equity interest purchased by redeemable noncontrolling shareholders. + References No definition available. + Details
Name: | ysg_PercentageOfEquityInterestPurchasedByRedeemableNoncontrollingShareholders
Namespace Prefix: | ysg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Redeemable noncontrolling interest equity mezzanine adjustment amount. + References No definition available. + Details
Name: | ysg_RedeemableNoncontrollingInterestEquityMezzanineAdjustmentAmount
Namespace Prefix: | ysg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Redeemable noncontrolling interests recognized. + References No definition available. + Details
Name: | ysg_RedeemableNoncontrollingInterestsRecognized
Namespace Prefix: | ysg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Significant accounting policies. + References No definition available. + Details
Name: | ysg_SignificantAccountingPoliciesLineItems
Namespace Prefix: | ysg_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=ysg_StatutoryReserveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=ysg_OtherReserveFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201704Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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