v3.25.2
Stock-Based Compensation - Grant Date Fair Value for Awards of Performance Units Inputs (Details) - Performance Stock Units (PSUs) to be settled in Common Stock - $ / shares
6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Feb. 27, 2025
Mar. 04, 2024
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Valuation date price based on February 27, 2025 and March 4, 2024 closing stock prices of Quanta common stock (in USD per share)     $ 259.26 $ 243.34
Expected volatility (in percent) 34.00% 33.00%    
Risk-free interest rate (in percent) 4.05% 4.43%    
Term in years 2 years 10 months 2 days 2 years 9 months 29 days