v3.25.1
Debt Instruments - Convertible Senior Notes (Narrative) (Details)
$ / shares in Units, $ in Millions
3 Months Ended 12 Months Ended
Mar. 05, 2021
USD ($)
Mar. 31, 2025
USD ($)
day
$ / shares
Dec. 31, 2024
USD ($)
Dec. 31, 2022
USD ($)
Dec. 05, 2024
USD ($)
Dec. 31, 2023
USD ($)
May 25, 2022
USD ($)
2026 Convertible Notes              
Debt Instrument [Line Items]              
Issuance of convertible note, net of issuance costs $ 930.0            
Debt instrument, convertible, conversion ratio   0.0097272          
Debt instrument, convertible, conversion price (in US dollar per share) | $ / shares   $ 102.80          
2026 Convertible Notes | Fastly Conversion Option              
Debt Instrument [Line Items]              
Debt instrument, convertible, threshold percentage of stock price trigger   130.00%          
Debt instrument, convertible, threshold trading days | day   20          
Debt instrument, convertible, threshold consecutive trading days | day   30          
2026 Convertible Notes | Holder Conversion Option One              
Debt Instrument [Line Items]              
Debt instrument, convertible, threshold percentage of stock price trigger   130.00%          
Debt instrument, convertible, threshold trading days | day   20          
Debt instrument, convertible, threshold consecutive trading days | day   30          
2026 Convertible Notes | Holder Conversion Option Two              
Debt Instrument [Line Items]              
Debt instrument, convertible, threshold percentage of stock price trigger   98.00%          
Debt instrument, convertible, threshold trading days | day   5          
2028 Convertible Notes              
Debt Instrument [Line Items]              
Debt instrument, convertible, conversion ratio   0.0506580          
Debt instrument, convertible, conversion price (in US dollar per share) | $ / shares   $ 19.74          
2028 Convertible Notes | Fastly Conversion Option              
Debt Instrument [Line Items]              
Debt instrument, convertible, threshold percentage of stock price trigger   130.00%          
Debt instrument, convertible, threshold trading days | day   20          
Debt instrument, convertible, threshold consecutive trading days | day   30          
2028 Convertible Notes | Holder Conversion Option One              
Debt Instrument [Line Items]              
Debt instrument, convertible, threshold percentage of stock price trigger   98.00%          
Debt instrument, convertible, threshold trading days | day   5          
Debt instrument, convertible, threshold consecutive trading days | day   10          
2028 Convertible Notes | Holder Conversion Option Two              
Debt Instrument [Line Items]              
Debt instrument, convertible, threshold consecutive trading days | day   10          
Convertible Debt | 2026 Convertible Notes              
Debt Instrument [Line Items]              
Debt instrument, face amount $ 948.8            
Interest rate, stated percentage 0.00%            
Debt instrument, face amount, additional principal issuable $ 123.8            
Discount and transaction costs $ 18.6            
Debt instrument, repurchased face amount           $ 367.3 $ 235.0
Debt instrument, repurchase amount           309.1 176.4
Debt repurchase transaction costs           $ 2.0 $ 0.7
Debt extinguishment in net gain     $ 1.4 $ 54.4      
Negotiated transactions of 2026 notes     157.9        
Convertible Debt | 2026 Convertible Notes | Fastly Conversion Option              
Debt Instrument [Line Items]              
Debt instrument, redemption price, percentage   100.00%          
Convertible Debt | 2026 Convertible Notes | Fundamental Change              
Debt Instrument [Line Items]              
Debt instrument, redemption price, percentage   100.00%          
Convertible Debt | 2028 Convertible Notes              
Debt Instrument [Line Items]              
Debt instrument, face amount   $ 150.0 $ 150.0        
Interest rate, stated percentage   7.75% 7.75%        
Debt instrument fair value disclosure         $ 155.7    
Debt instrument unamortized premium         $ 5.7    
Transaction costs   $ 5.8          
Convertible Debt | 2028 Convertible Notes | Holder Conversion Option Two              
Debt Instrument [Line Items]              
Debt instrument, redemption price, percentage   100.00%