v3.24.2.u1
Current and Long-term Liabilities - Convertible Notes and Indirect Taxes (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Mar. 31, 2021
USD ($)
$ / shares
Jun. 30, 2024
USD ($)
Jun. 30, 2023
USD ($)
Jun. 30, 2024
USD ($)
Jun. 30, 2023
USD ($)
Dec. 31, 2023
USD ($)
Line of Credit Facility [Line Items]            
Convertible notes, net of issuance costs   $ 1,255,086   $ 1,255,086   $ 1,253,760
Estimated liability for indirect taxes   80,300   80,300   71,200
Convertible Noteholders            
Line of Credit Facility [Line Items]            
Aggregate principle amount $ 1,265,000          
Lender fees 17,000          
Debt financing costs $ 1,700          
Conversion ratio 0.010543          
Conversion price (in dollars per share) | $ / shares $ 94.85          
Strike price (in dollars per share) | $ / shares 94.85          
Cap price (in dollars per share) | $ / shares $ 135.50          
Net cost incurred $ 124,000          
Convertible notes, net of issuance costs   1,255,100   1,255,100    
Debt issuance costs   9,900   9,900    
Amortization of debt issuance costs   700 $ 700 1,300 $ 1,300  
Fair value of convertible notes   $ 1,046,400   $ 1,046,400   $ 1,025,600