XML 61 R50.htm IDEA: XBRL DOCUMENT v3.21.2
Debt - Impact of Adoption of ASU 2020- 06 (Details) - USD ($)
$ in Thousands
Sep. 30, 2021
Jul. 01, 2021
Jun. 30, 2021
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Current portion of long-term debt $ 420,029   $ 62,050
Retained earnings $ (1,239,075)   $ (1,136,777)
Convertible Senior Notes | Cumulative Effect, Period of Adoption, Adjustment      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Current portion of long-term debt   $ (15,000)  
Deferred tax liabilities   3,000  
Retained earnings   $ 11,000