v3.25.2
Public Notes (Details) - USD ($)
12 Months Ended
Jun. 18, 2025
Jan. 16, 2024
Mar. 15, 2023
Sep. 30, 2021
May 27, 2021
Feb. 19, 2021
Jan. 22, 2021
Oct. 01, 2018
Jun. 20, 2018
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2022
Debt Instrument [Line Items]                          
Net gain (loss) on extinguishment of debt                   $ 972,000 $ (248,000) $ (180,000)  
Repayments of convertible debt                   156,168,000 0 60,501,000  
Debt financing costs                   18,842,000 22,975,000    
Unsecured Debt                          
Debt Instrument [Line Items]                          
Unamortized discount                   $ 3,566,000 $ 6,462,000    
2023 Notes | Unsecured Debt                          
Debt Instrument [Line Items]                          
Face amount     $ 250,000,000           $ 70,000,000        
Stated rate     5.875%           5.875%        
Proceeds from issuance of discounts and offering costs     $ 243,641,000           $ 69,403,000        
Repayments of long-term debt                       2,104,000  
Net gain (loss) on extinguishment of debt                       $ (30,000)  
Notes                         $ 284,219,000
Extinguishment of debt, amount     $ 282,115,000                    
2023 Notes | Unsecured Debt | Minimum                          
Debt Instrument [Line Items]                          
Redemption price rate                       98.00%  
2023 Notes | Unsecured Debt | Maximum                          
Debt Instrument [Line Items]                          
Redemption price rate                       98.75%  
6.375% 2024 Notes                          
Debt Instrument [Line Items]                          
Stated rate                   6.375%      
6.375% 2024 Notes | Unsecured Debt                          
Debt Instrument [Line Items]                          
Face amount               $ 100,000,000          
Stated rate   6.375%           6.375%       6.375%  
Proceeds from issuance of discounts and offering costs               $ 98,985,000          
Notes                       $ 81,240,000  
Extinguishment of debt, amount   $ 81,240,000                      
2026 Notes | Unsecured Debt                          
Debt Instrument [Line Items]                          
Face amount           $ 75,000,000 $ 325,000,000            
Stated rate           3.706% 3.706%            
Proceeds from issuance of discounts and offering costs           $ 74,061,000 $ 317,720,000            
Redemption price rate 100.00%                 99.00% 97.44%    
Repayments of long-term debt                     $ 57,053,000    
Net gain (loss) on extinguishment of debt $ (998,000)                 $ 874,000 1,264,000    
Notes 0                   $ 400,000,000    
Extinguishment of debt, amount $ 207,216,000                        
Repayments of convertible debt                   $ 135,731,000      
3.364% 2026 Notes                          
Debt Instrument [Line Items]                          
Stated rate                   3.364%      
3.364% 2026 Notes | Unsecured Debt                          
Debt Instrument [Line Items]                          
Face amount         $ 300,000,000                
Stated rate         3.364%         336.40% 3.364%    
Proceeds from issuance of discounts and offering costs         $ 293,283,000                
Notes                   $ 300,000,000 $ 300,000,000    
3.437% 2028 Notes                          
Debt Instrument [Line Items]                          
Stated rate                   3.437%      
3.437% 2028 Notes | Unsecured Debt                          
Debt Instrument [Line Items]                          
Face amount       $ 300,000,000                  
Stated rate       3.437%           343.70% 3.437%    
Proceeds from issuance of discounts and offering costs       $ 291,798,000                  
Notes                   $ 300,000,000 $ 300,000,000    
Public Notes                          
Debt Instrument [Line Items]                          
Notes                   593,444,000 987,567,000    
Public Notes | Unsecured Debt                          
Debt Instrument [Line Items]                          
Unamortized discount       8,919,000                  
Debt issuance costs, gross       $ 7,565,000                  
Debt financing costs                   2,990,000 5,971,000    
Interest expense                   $ 37,302,000 $ 42,702,000 $ 57,361,000