Quarterly report pursuant to Section 13 or 15(d)

Debt (Details)

v3.8.0.1
Debt (Details)
1 Months Ended 3 Months Ended 9 Months Ended
Jun. 30, 2020
USD ($)
Jun. 30, 2018
USD ($)
Dec. 31, 2017
USD ($)
Jun. 30, 2017
USD ($)
May 23, 2017
USD ($)
$ / shares
shares
Apr. 30, 2017
Mar. 31, 2018
USD ($)
increase
tradingdays
consecutivetradingdays
shares
Sep. 30, 2014
USD ($)
Mar. 12, 2018
USD ($)
Dec. 05, 2017
USD ($)
May 31, 2017
USD ($)
Apr. 03, 2017
USD ($)
Feb. 29, 2016
USD ($)
Line of Credit Facility [Line Items]                          
Ratio of indebtedness             3.75            
Covenant, interest coverage ratio               3.00          
Revolving line of credit facility, available borrowing capacity             $ 300,000,000            
Convertible notes, net     $ 281,199,000       $ 284,046,000            
Common stock warrants (in shares) | shares         8,200,000                
Purchases of convertible note hedges         $ 62,500,000                
Proceeds from issuance of warrants         $ 31,500,000                
Warrants strike price (in dollars per share) | $ / shares         $ 57.58                
Number of warrants exercised (in shares) | shares             0            
Carrying value             $ 317,090,000            
Maximum                          
Line of Credit Facility [Line Items]                          
Common stock warrants (in shares) | shares         8,200,000                
Revolving Facility                          
Line of Credit Facility [Line Items]                          
Line of credit facility, maximum borrowing capacity             350,000,000            
Line of credit facility, additional borrowing capacity               $ 150,000,000 $ 150,000,000        
Debt issuance costs                 $ 1,100,000        
Revolving line of credit facility, available borrowing capacity             300,000,000            
Unamortized debt issuance costs     (600,000)       $ (1,600,000)            
Revolving Facility | Maximum                          
Line of Credit Facility [Line Items]                          
Ratio of indebtedness             3.50            
Revolving Facility | LIBOR                          
Line of Credit Facility [Line Items]                          
Basis spread on interest rate               1.00%          
Revolving Facility | LIBOR | Minimum                          
Line of Credit Facility [Line Items]                          
Basis spread on interest rate           1.25%              
Revolving Facility | LIBOR | Maximum                          
Line of Credit Facility [Line Items]                          
Basis spread on interest rate           2.25%              
Revolving Facility | Federal Funds Rate                          
Line of Credit Facility [Line Items]                          
Basis spread on interest rate               0.50%          
Revolving Facility | Base Rate | Minimum                          
Line of Credit Facility [Line Items]                          
Basis spread on interest rate           0.25%              
Revolving Facility | Base Rate | Maximum                          
Line of Credit Facility [Line Items]                          
Basis spread on interest rate           1.25%              
Letters of credit                          
Line of Credit Facility [Line Items]                          
Sub limit for issuance of letters of credit               $ 10,000,000          
Swingline Loan                          
Line of Credit Facility [Line Items]                          
Sub limit for issuance of letters of credit               $ 20,000,000          
Line of Credit | Revolving Facility                          
Line of Credit Facility [Line Items]                          
Revolving line of credit outstanding borrowings     0                    
Carrying value     50,000,000       $ 50,000,000            
Convertible Senior Notes                          
Line of Credit Facility [Line Items]                          
Proceeds from borrowings on convertible notes         $ 304,200,000                
Delayed Draw Term Loan                          
Line of Credit Facility [Line Items]                          
Periodic payment       $ 800,000                  
Revolving line of credit facility, available borrowing capacity             $ 0            
Delayed Draw Term Loan | Line of Credit                          
Line of Credit Facility [Line Items]                          
Line of credit facility, maximum borrowing capacity                         $ 125,000,000
Delayed Draw Term Loan | Line of Credit | Base Rate                          
Line of Credit Facility [Line Items]                          
Ratio of indebtedness             5.0            
Delayed Draw Term Loan | Term Loan                          
Line of Credit Facility [Line Items]                          
Carrying value     197,439,000       $ 196,276,000     $ 200,000,000      
Periodic principal payment     1,300,000                    
Seventh Amendment                          
Line of Credit Facility [Line Items]                          
Ratio of indebtedness             4.25            
Seventh Amendment | Line of Credit | Base Rate                          
Line of Credit Facility [Line Items]                          
Ratio of indebtedness             5.50            
Debt covenant consolidated net leverage ratio number of times allowable increase allowed over consecutive 24 month period | increase             1            
Debt covenant measurement period             24 months            
Debt covenant allowable duration of net coverage ratio increase             9 months            
Seventh Amendment | Convertible Debt                          
Line of Credit Facility [Line Items]                          
Principal amount                       $ 150,000,000  
Debt covenant measurement period             24 months            
Debt covenant, acquisition floor for one time leverage extension             $ 150,000,000            
Debt covenant consolidated senior secured net leverage ratio number of times allowable increase allowed over consecutive 24 month period | increase             1            
Convertible Senior Notes Due November 2022 | Convertible Senior Notes                          
Line of Credit Facility [Line Items]                          
Debt issuance costs                     $ 9,800,000    
Principal amount     345,000,000   $ 345,000,000   $ 345,000,000            
Interest rate stated percentage         1.50%                
Conversion rate, convertible notes             0.02384            
Conversion price | $ / shares         $ 41.95                
Threshold trading days | tradingdays             20            
Threshold consecutive trading days | consecutivetradingdays             30            
Measurement period threshold trading days | tradingdays             5            
Measurement period threshold consecutive trading days | consecutivetradingdays             5            
Redemption price (percentage)             100.00%            
Convertible notes, net     281,199,000       $ 284,046,000       282,500,000    
Carrying amount of convertible debt equity component     $ 61,390,000       $ 61,390,000       $ 62,500,000    
Convertible Senior Notes Due November 2022 | Convertible Senior Notes | Minimum                          
Line of Credit Facility [Line Items]                          
Threshold percentage of stock price trigger             130.00%            
Ratio of trading price per $1000 principle amount             98.00%            
Percentage of debt held by individual owner             25.00%            
Over-Allotment Option | Convertible Senior Notes                          
Line of Credit Facility [Line Items]                          
Principal amount         $ 45,000,000                
Scenario, Forecast | Delayed Draw Term Loan                          
Line of Credit Facility [Line Items]                          
Periodic payment $ 3,100,000 $ 1,500,000                      
Scenario, Forecast | Delayed Draw Term Loan | Term Loan                          
Line of Credit Facility [Line Items]                          
Periodic principal payment $ 5,000,000 $ 2,500,000