v3.25.1
Cash and cash equivalents (Details) - BRL (R$)
R$ in Thousands
Mar. 31, 2025
Dec. 31, 2024
Mar. 31, 2024
Dec. 31, 2023
Cash and Cash Equivalents [Line Items]        
Cash and banks R$ 8,318,885 R$ 6,596,510    
Cash and cash equivalents R$ 9,914,505 9,018,818 R$ 4,203,126 R$ 8,345,871
Cash and banks | Fixed        
Cash and Cash Equivalents [Line Items]        
Average yield p.a. % 4.60%      
Country of domicile        
Cash and Cash Equivalents [Line Items]        
Fixed-term deposits (compromised) R$ 1,595,620 R$ 2,422,308    
Country of domicile | Fixed-term deposits | CDI        
Cash and Cash Equivalents [Line Items]        
Percentage of basis used to calculate interest rate 101.30%