XML 41 R21.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Others, net | 12 Months Ended
--- | ---
Dec. 31, 2023
Others, net |
Others, net | 14. Others, net Other income and expense consist of the following: ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year ended
​ |  | December 31,
​ | ​ | 2021 |  | 2022 |  | 2023
​ | ​ | RMB | ​ | RMB | ​ | RMB
Government grants |  | 17,832 |  | 24,330 |  | 71,503
Foreign exchange (losses)/gains, net |  | (8,205) |  | 13,733 |  | (11,061)
Gains on derivatives | ​ | — | ​ | — | ​ | 6,926
Others |  | (10,783) |  | (4,326) |  | (7,709)
Total |  | (1,156) |  | 33,737 |  | 59,659
​ Government grants mainly represent amounts received from local governments in connection with the Group’s technology development activities. During the year ended December 31, 2023, the Company entered into two foreign currency forward contracts to buy US$ using RMB in order to economically hedge the foreign currency risk of a portion of the Company’s intra-group balances denominated in non-functional currency. The Company estimates the fair value of the contracts using future cash based on forward exchange rates (from observable forward exchange rates at the end of the reporting period) and contract forward rates, discounted at a rate that reflects the credit risk of various counterparties. Both of such forward contracts have been settled as of December 31, 2023. The gain from the fair values of these contracts was RMB6,926 for the year ended December 31, 2023 and are recorded in others, net in the consolidated statements of comprehensive loss. The RMB6,926 cash receipt from these contracts was reflected in cash flows from operating activities in the consolidated statement of cash flows.

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

X
- Definition The entire disclosure for the components of non-operating income or non-operating expense, including, but not limited to, amounts earned from dividends, interest on securities, gain (loss) on securities sold, equity earnings of unconsolidated affiliates, gain (loss) on sales of business, interest expense and other miscellaneous income or expense items. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(7)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 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(9)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_OtherNonoperatingIncomeAndExpenseTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration