v3.25.2
Convertible Senior Notes - Net Carrying Values of Debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2025
Dec. 31, 2024
Jun. 04, 2020
May 19, 2020
May 08, 2018
Debt Instrument [Line Items]          
Total net carrying amount $ 993,165 $ 1,542,141      
Convertible senior notes, net—current 0 550,723      
Convertible senior notes, net—non-current 993,165 991,418      
2025 Notes          
Debt Instrument [Line Items]          
Principal 0 725     $ 287,500
Less: Debt discount, net 0 (2)      
Total net carrying amount 0 723      
Livongo Notes          
Debt Instrument [Line Items]          
Principal 0 550,000 $ 550,000    
Less: Debt discount, net 0 0      
Total net carrying amount 0 550,000      
2027 Notes          
Debt Instrument [Line Items]          
Principal 1,000,000 1,000,000   $ 1,000,000  
Less: Debt discount, net (6,835) (8,582)      
Total net carrying amount $ 993,165 $ 991,418