v3.26.1
Convertible Senior Notes - Additional Information (Details)
12 Months Ended
Feb. 24, 2025
USD ($)
Days
$ / shares
Mar. 07, 2023
USD ($)
Days
$ / shares
Feb. 24, 2023
USD ($)
Dec. 30, 2022
USD ($)
$ / shares
Jan. 08, 2021
USD ($)
Dec. 21, 2020
USD ($)
Days
$ / shares
Dec. 31, 2025
CNY (¥)
Dec. 31, 2025
USD ($)
Dec. 31, 2024
CNY (¥)
Dec. 31, 2024
USD ($)
Dec. 31, 2023
CNY (¥)
Dec. 31, 2023
USD ($)
Dec. 31, 2025
USD ($)
Aug. 31, 2024
USD ($)
Debt Instrument [Line Items]                            
Debt instrument, face amount             ¥ 7,583,276,000   ¥ 8,161,394,000       $ 1,084,394,000  
Convertible senior notes repaid             ¥ 2,813,569,000 $ 402,335,000 2,914,233,000   ¥ 11,735,964,000      
Minimum percentage of aggregate principal amount of convertible senior notes payable upon event of default             25.00% 25.00%            
Interest cost recognized             ¥ 697,551,000 $ 99,748,000 849,436,000   936,381,000      
Convertible senior notes             6,711,948,000   8,350,570,000       959,796,000  
2026 Convertible Senior Notes                            
Debt Instrument [Line Items]                            
Debt instrument, face amount           $ 800,000,000                
Debt instrument, payment terms           The convertible senior notes issued on December 21, 2020 and January 8, 2021 (collectively referred to as the “2026 Notes”) are senior, unsecured obligations of the Company, and interest is payable semi-annually in cash at a rate of 4.00% per annum on June 15 and December 15 of each year, beginning on June 15, 2021.                
Debt instrument, frequency of periodic payment           semi-annually                
Annual interest rate           4.00%                
Loan agreement expiration date           Dec. 15, 2026                
Debt instrument, repurchase date           Aug. 01, 2024                
Percentage of repurchase price is equal to principal amount of convertible notes           100.00%                
Debt instrument, repurchase aggregate principal amount                       $ 504,400,000    
Convertible senior notes repaid                   $ 395,500,000        
Aggregate principal amount of the Notes remained outstanding                         100,000  
Additional debt principal amount offered           $ 100,000,000                
Debt instrument additional principal amount issued pursuant to underwriters exercise of option         $ 100,000,000                  
Aggregate schedule of maturities repayment of principal payments due in 2026                         100,000  
2026 Convertible Senior Notes | American Depositary Shares                            
Debt Instrument [Line Items]                            
Debt instrument, initial conversion rate           44.8179                
Debt instrument, conversion basis principle amount           $ 1,000                
Debt instrument, initial conversion price | $ / shares           $ 22.31                
Debt instrument, convertible threshold trading days | Days           20                
Debt instrument, convertible threshold consecutive trading days | Days           30                
Debt instrument, convertible threshold percentage           130.00%                
Number of business days | Days           5                
Convertible threshold percentage of the product of ADS sale price and conversion rate           98.00%                
2026 Convertible Senior Notes | American Depositary Shares | Convertible Period                            
Debt Instrument [Line Items]                            
Debt instrument, convertible threshold consecutive trading days | Days           10                
PAG Convertible Senior Notes                            
Debt Instrument [Line Items]                            
Debt instrument, face amount       $ 500,000,000                 679,300,000  
Debt instrument, payment terms       The convertible senior notes issued on December 30, 2022 and February 24, 2023 (collectively referred to as the “PAG Notes”) are senior, secured obligations of the Company by certain collateral arrangements, and interest is payable quarterly in cash at a rate of 6.00% per annum on January 1, April 1, July 1 and October 1 of each year, beginning on April 1, 2023                    
Debt instrument, frequency of periodic payment       quarterly                    
Annual interest rate       6.00%                    
Debt instrument, initial conversion price | $ / shares       $ 4.61                    
Convertible senior notes repaid               27,500,000            
Aggregate principal amount of the Notes remained outstanding                         $ 522,500,000  
Additional debt principal amount offered       $ 50,000,000                   $ 522,500,000
Debt instrument additional principal amount issued pursuant to underwriters exercise of option     $ 50,000,000                      
Interest cost recognized             ¥ 438,700,000 $ 62,700,000 ¥ 486,900,000   ¥ 472,800,000      
Liability accreted remaining period             2 years           2 years  
Convertible senior notes                           $ 400,000,000
Debt instrument, repurchase price, percentage of principal amount of notes             130.00% 130.00%            
Effective interest rate             10.20% 10.20% 7.15% 7.15% 5.28% 5.28%    
Debt instrument, collateralized restricted cash | ¥             ¥ 0              
PAG Convertible Senior Notes | Minimum                            
Debt Instrument [Line Items]                            
Effective interest rate                           10.20%
PAG Convertible Senior Notes | Maximum                            
Debt Instrument [Line Items]                            
Effective interest rate                           12.05%
PAG Convertible Senior Notes | After Third Anniversary of Issuance Date                            
Debt Instrument [Line Items]                            
Percentage of repurchase price is equal to principal amount of convertible notes       120.00%                    
Percentage of repayment of principal amount upon occurrence of event of default             120.00% 120.00%            
Percentage of repayment of principal amount upon occurrence of fundamental change             120.00% 120.00%            
Debt instrument, repurchase price, percentage of principal amount of notes             120.00% 120.00%            
PAG Convertible Senior Notes | Fifth Anniversary of Issuance Date                            
Debt Instrument [Line Items]                            
Percentage of repurchase price is equal to principal amount of convertible notes       130.00%                    
Percentage of repayment of principal amount upon occurrence of event of default             130.00% 130.00%            
Percentage of repayment of principal amount upon occurrence of fundamental change             130.00% 130.00%            
Debt instrument, repurchase price, percentage of principal amount of notes             130.00% 130.00%            
PAG Convertible Senior Notes | American Depositary Shares                            
Debt Instrument [Line Items]                            
Debt instrument, initial conversion rate       216.9668                    
Debt instrument, conversion basis principle amount       $ 1,000                    
2028 Convertible Senior Notes                            
Debt Instrument [Line Items]                            
Debt instrument, face amount   $ 600,000,000                     $ 208,100,000  
Initial proceeds from debt issuance, gross   $ 600,000,000                        
Debt instrument, payment terms   The 2028 Notes are senior, unsecured obligations of the Company, and interest is payable quarterly in cash at a rate of 6.50% per annum on March 15, June 15, September 15 and December 15 of each year, beginning on June 15, 2023                        
Debt instrument, frequency of periodic payment   quarterly                        
Annual interest rate   6.50%                        
Loan agreement expiration date   Mar. 15, 2028                        
Debt instrument, repurchase date   Mar. 16, 2026                        
Percentage of repurchase price is equal to principal amount of convertible notes   100.00%                        
Debt instrument, repurchase aggregate principal amount                         391,900,000  
Aggregate principal amount of the Notes remained outstanding                         $ 208,100,000  
Net proceeds from issuance of notes   $ 589,500,000                        
Net of issuance costs   $ 10,500,000                        
Liability accreted remaining period             2 months 15 days           2 months 15 days  
Aggregate schedule of maturities repayment of principal payments due in 2028                         $ 887,400,000  
2028 Convertible Senior Notes | American Depositary Shares                            
Debt Instrument [Line Items]                            
Debt instrument, initial conversion rate   101.4636                        
Debt instrument, conversion basis principle amount   $ 1,000                        
Debt instrument, initial conversion price | $ / shares   $ 9.86                        
Debt instrument, convertible threshold trading days | Days   20                        
Debt instrument, convertible threshold consecutive trading days | Days   30                        
Debt instrument, convertible threshold percentage   130.00%                        
Number of business days | Days   5                        
Convertible threshold percentage of the product of ADS sale price and conversion rate   98.00%                        
2028 Convertible Senior Notes | American Depositary Shares | Convertible Period                            
Debt Instrument [Line Items]                            
Debt instrument, convertible threshold consecutive trading days | Days   10                        
2030 Convertible Senior Notes                            
Debt Instrument [Line Items]                            
Debt instrument, face amount $ 350,000,000                       $ 350,000,000  
Initial proceeds from debt issuance, gross $ 350,000,000                          
Debt instrument, payment terms The 2030 Notes are senior, unsecured obligations of the Company, and interest is payable quarterly in cash at a rate of 4.625% per annum on March 15, June 15, September 15 and December 15 of each year, beginning on June 15, 2025. The 2030 Notes will mature on March 15, 2030 unless redeemed, repurchased or converted prior to such date.                          
Debt instrument, frequency of periodic payment quarterly                          
Annual interest rate 4.625%                          
Loan agreement expiration date Mar. 15, 2030                          
Debt instrument, repurchase date Mar. 15, 2028                          
Percentage of repurchase price is equal to principal amount of convertible notes 100.00%                          
Net proceeds from issuance of notes $ 343,600,000                          
Net of issuance costs $ 6,400,000                          
Liability accreted remaining period             2 years 2 months 15 days           2 years 2 months 15 days  
Aggregate schedule of maturities repayment of principal payments due in 2030                         $ 350,000,000  
2030 Convertible Senior Notes | American Depositary Shares                            
Debt Instrument [Line Items]                            
Debt instrument, initial conversion rate 324.0966                          
Debt instrument, conversion basis principle amount $ 1,000                          
Debt instrument, initial conversion price | $ / shares $ 3.09                          
Debt instrument, convertible threshold trading days | Days 20                          
Debt instrument, convertible threshold consecutive trading days | Days 30                          
Debt instrument, convertible threshold percentage 130.00%                          
Number of business days | Days 5                          
Convertible threshold percentage of the product of ADS sale price and conversion rate 98.00%                          
2030 Convertible Senior Notes | American Depositary Shares | Convertible Period                            
Debt Instrument [Line Items]                            
Debt instrument, convertible threshold consecutive trading days | Days 10                          
2023 Notes, 2025 Notes and 2026 Notes                            
Debt Instrument [Line Items]                            
Debt Instrument, description of events of default             any event of default are to take place, the trustee or the holders of at least 25% in aggregate principal amount may declare the whole principal of (or, in the case of the PAG Notes, 120% or 130% of the principal amount for such notes, as the case may be, depending on the date of occurrence of the event of default), and accrued and unpaid interest on, all the outstanding convertible senior notes to be due and payable immediately, subject to certain exceptions and conditions under the respective indenture. The Company may also be required to pay additional interest. If any fundamental change are to take place, holders of the notes will have the right, at their option, to require the Company to repurchase all of their notes or any portion of the principal amount (or, in the case of the PAG Notes, 120% or 130% of the principal amount for such notes, as the case may be, depending on the date of occurrence of the fundamental change), and accrued and unpaid interests. In the event of a fundamental change, the Company may also be required to issue additional ADSs upon conversion of its convertible notes. As of December 31, 2025, there was no such event of default or fundamental change. any event of default are to take place, the trustee or the holders of at least 25% in aggregate principal amount may declare the whole principal of (or, in the case of the PAG Notes, 120% or 130% of the principal amount for such notes, as the case may be, depending on the date of occurrence of the event of default), and accrued and unpaid interest on, all the outstanding convertible senior notes to be due and payable immediately, subject to certain exceptions and conditions under the respective indenture. The Company may also be required to pay additional interest. If any fundamental change are to take place, holders of the notes will have the right, at their option, to require the Company to repurchase all of their notes or any portion of the principal amount (or, in the case of the PAG Notes, 120% or 130% of the principal amount for such notes, as the case may be, depending on the date of occurrence of the fundamental change), and accrued and unpaid interests. In the event of a fundamental change, the Company may also be required to issue additional ADSs upon conversion of its convertible notes. As of December 31, 2025, there was no such event of default or fundamental change.