v3.25.1
Deferred Revenue - Additional information (Details) - CNY (¥)
¥ in Thousands
12 Months Ended
Dec. 31, 2024
Dec. 31, 2023
Dec. 31, 2022
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Line Items]      
Deferred revenue recognized ¥ 1,667,192    
Total deferred revenue 2,117,020 ¥ 2,337,761 ¥ 1,150,832
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2025-01-01      
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Line Items]      
Performance obligation expected to be recognized ¥ 1,396,489    
Period of performance obligation expected to be recognized 12 months    
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2026-01-01      
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Line Items]      
Performance obligation expected to be recognized ¥ 720,531    
Period of performance obligation expected to be recognized