v3.23.2
Debt - Schedule of Net Carrying Amount of Notes (Details) - Convertible Debt - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Aug. 13, 2021
2026 Notes      
Debt Instrument [Line Items]      
Principal $ 1,293,750 $ 1,293,750  
Unamortized debt issuance costs (12,367) (14,348)  
Carrying amount, net 1,281,383 1,279,402  
2025 Notes      
Debt Instrument [Line Items]      
Principal 35,400 158,429  
Unamortized debt issuance costs (70) (1,639)  
Carrying amount, net $ 35,330 $ 156,790 $ 283,100