v3.25.0.1
Debt - Narrative (Details)
$ / shares in Units, shares in Millions
3 Months Ended 12 Months Ended
Jan. 11, 2021
USD ($)
day
$ / shares
shares
May 04, 2020
USD ($)
day
$ / shares
Dec. 31, 2024
USD ($)
day
$ / shares
Sep. 30, 2024
day
Dec. 31, 2024
USD ($)
$ / shares
Dec. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
Line of Credit Facility [Line Items]              
Issuance of common stock, net         $ 4,646,000 $ 4,624,000 $ 12,587,000
Ownership of convertible notes   25.00%          
Over-Allotment Option              
Line of Credit Facility [Line Items]              
Issuance of common stock, net $ 334,400,000 $ 194,500,000          
Capped Call Transactions              
Line of Credit Facility [Line Items]              
Proceeds from issuance of convertible debt, net of issuance costs $ 29,300,000            
Capped call transaction, number of underlying shares | shares 5.2            
Offering price per share (in dollars per share) | $ / shares $ 85.75            
Premium on offering price 75.00%            
Public offering price (in dollars per share) | $ / shares $ 49.00            
Convertible Debt | 2028 Convertible Notes              
Line of Credit Facility [Line Items]              
Stated interest rate 0.25%   0.25%   0.25% 0.25%  
Debt instrument, face amount $ 345,000,000            
Discount on principal amount 0.970            
Discount on shares $ 10,600,000            
Threshold trading days | day 20            
Consecutive trading days | day 30            
Conversion price on applicable trading day 130.00%            
Convertible notes, conversion price (in dollars per share) | $ / shares $ 66.15   $ 16.48   $ 16.48    
Redemption price of principal 100.00%            
Ownership of convertible notes 25.00%            
Interest expense, contractual coupon interest         $ 900,000 $ 900,000  
Interest expense, accretion of debt discount         1,500,000 1,500,000  
Interest expense, amortization of debt issuance costs         $ 34,000 34,000  
Effective interest rate on convertible notes         0.70%    
Convertible notes, conversion ratio 0.0151172            
Convertible Debt | 2028 Convertible Notes | Debt Instrument, Redemption, Period One              
Line of Credit Facility [Line Items]              
Threshold trading days | day 20            
Consecutive trading days | day 30            
Conversion price on applicable trading day 130.00%            
Convertible Debt | 2028 Convertible Notes | Debt Instrument, Redemption, Period Two              
Line of Credit Facility [Line Items]              
Threshold trading days | day 5            
Consecutive trading days | day 5            
Principal amount priced to investors 0.980            
Convertible Debt | 2028 Convertible Notes | Level 2              
Line of Credit Facility [Line Items]              
Fair value of debt     $ 284,800,000   $ 284,800,000 $ 262,400,000  
Convertible Debt | 2025 Convertible Notes              
Line of Credit Facility [Line Items]              
Stated interest rate   1.25% 1.25%   1.25% 1.25%  
Debt instrument, face amount   $ 201,300,000          
Discount on principal amount   0.970          
Discount on shares   $ 6,900,000          
Threshold trading days | day   20          
Consecutive trading days | day   30          
Conversion price on applicable trading day   130.00%          
Convertible notes, conversion price (in dollars per share) | $ / shares   $ 36.34          
Redemption price of principal   100.00%          
Interest expense, contractual coupon interest         $ 2,500,000 $ 2,500,000  
Interest expense, accretion of debt discount         1,200,000 1,200,000  
Interest expense, amortization of debt issuance costs         $ 200,000 200,000  
Effective interest rate on convertible notes         1.96%    
Convertible notes, conversion ratio   0.0275198          
Convertible Debt | 2025 Convertible Notes | Debt Instrument, Redemption, Period One              
Line of Credit Facility [Line Items]              
Threshold trading days | day   20 20 20      
Consecutive trading days | day   30 30 30      
Conversion price on applicable trading day   130.00% 130.00% 130.00%      
Convertible Debt | 2025 Convertible Notes | Debt Instrument, Redemption, Period Two              
Line of Credit Facility [Line Items]              
Threshold trading days | day   5          
Consecutive trading days | day   5          
Principal amount priced to investors   0.980          
Convertible Debt | 2025 Convertible Notes | Level 2              
Line of Credit Facility [Line Items]              
Fair value of debt     $ 197,700,000   $ 197,700,000 $ 197,300,000