v3.26.1
Long-term Debt - Convertible Senior Notes - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 9 Months Ended
Dec. 11, 2019
Sep. 30, 2025
USD ($)
shares
Jun. 30, 2022
USD ($)
Nov. 30, 2021
USD ($)
Dec. 31, 2019
Days
$ / shares
Jun. 30, 2026
USD ($)
shares
Jun. 30, 2025
USD ($)
Jun. 30, 2026
USD ($)
Days
$ / shares
shares
Jun. 30, 2025
USD ($)
Sep. 30, 2025
USD ($)
shares
Mar. 31, 2026
USD ($)
Dec. 31, 2025
USD ($)
Debt Instrument [Line Items]                        
Payment of 2019 Notes               $ 47,031        
Debt instrument, threshold trading days | Days               5        
Number of business day | Days               5        
Induced conversion expense related to convertible notes           $ 0 $ 0 $ 11,938 $ 0      
Unamortized debt issuance costs           5,362   5,362       $ 6,612
2021 Note Partial Repurchase                        
Debt Instrument [Line Items]                        
Payment of 2021 Notes               47,200        
Induced conversion expense related to convertible notes               11,900        
Unamortized debt issuance costs           300   300        
2019 Convertible Senior Notes due 2026                        
Debt Instrument [Line Items]                        
Cap price of the capped call transactions | $ / shares         $ 54.2              
Capped call transactions expiration consecutive days | Days         40              
Capped call transaction expiring date Dec. 11, 2026                      
2019 Convertible Senior Notes due 2026 | 2019 Note Repurchase                        
Debt Instrument [Line Items]                        
Payment of 2019 Notes     $ 17,600 $ 183,600                
Repurchase of debt principal amount     $ 9,900 $ 76,400                
2021 Convertible Senior Notes due 2027                        
Debt Instrument [Line Items]                        
Debt instrument, maturity date       May 15, 2027                
Net proceeds from issuing notes       $ 278,400                
Accrued interest           $ 100   100       100
Payment of 2021 Notes               $ 190,000   $ 190,000    
Shares issued | shares   811,000       811,000   811,000   811,000    
Induced conversion expense related to convertible notes                   $ 15,000    
Issuance of the shares of common stock but recognized additional paid-in-capital                   13,100    
Unamortized debt issuance costs           $ 283   $ 283       753
2021 Convertible Senior Notes due 2027 | 2021 Note Repurchase                        
Debt Instrument [Line Items]                        
Unamortized debt issuance costs   $ 2,000               2,000    
2025 Convertible Senior Notes due 2029                        
Debt Instrument [Line Items]                        
Debt instrument, maturity date   Sep. 15, 2029                    
Net proceeds from issuing notes   $ 183,600                    
Cap price of the capped call transactions | $ / shares               $ 340.32        
Capped call cost               $ 11,200        
Unamortized debt issuance costs           5,079   5,079       5,859
2021 Convertible Promissory Notes due 2027                        
Debt Instrument [Line Items]                        
Aggregate principal amount       $ 287,500                
Debt instrument, maturity date       May 15, 2027                
2021 Convertible Promissory Notes due 2027 | Level 2                        
Debt Instrument [Line Items]                        
Estimated fair value           80,500   80,500       159,100
2021 Convertible Promissory Notes due 2027 | 2021 Note Repurchase                        
Debt Instrument [Line Items]                        
Repurchased principal amount of debt   190,000       190,000   190,000   190,000    
2021 Convertible Promissory Notes due 2027 | 2021 Note Partial Repurchase                        
Debt Instrument [Line Items]                        
Repurchased principal amount of debt                     $ 40,200  
2025 Convertible Promissory Notes due 2029                        
Debt Instrument [Line Items]                        
Aggregate principal amount   $ 190,000               $ 190,000    
Debt instrument, maturity date   Sep. 15, 2029                    
2025 Convertible Promissory Notes due 2029 | Level 2                        
Debt Instrument [Line Items]                        
Estimated fair value           $ 184,800   $ 184,800       $ 195,600
Convertible Senior Notes                        
Debt Instrument [Line Items]                        
Debt instrument, threshold consecutive trading days | Days               30        
Debt instrument, threshold percentage of stock price trigger               130.00%        
Debt instrument, terms of conversion feature               Regardless of the foregoing circumstances, holders may convert all or any portion of the 2021 Notes, in increments of $1,000 principal amount, on or after February 15, 2027, and may convert all or any portion of the 2025 Notes, in increments of $1,000 principal amount, on or after June 15, 2029, until the close of business on the second scheduled trading day immediately preceding the maturity date for the applicable series of Notes.        
Percentage of repurchase price of principal amount               100.00%        
Convertible Senior Notes | Minimum                        
Debt Instrument [Line Items]                        
Debt instrument, threshold trading days | Days               20        
Convertible Senior Notes | Maximum                        
Debt Instrument [Line Items]                        
Debt instrument, threshold percentage of stock price trigger               98.00%