XML 39 R29.htm IDEA: XBRL DOCUMENT v3.22.2
Summary of Significant Accounting Policies - ASU 2020-06 - Tabular Disclosure (Details) - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
New Accounting Pronouncements    
Deferred tax assets $ 320,554 $ 333,294
Current portion of convertible senior notes   116,858
Long-term portion of convertible senior notes 395,451 337,333
Additional paid-in capital 1,328,290 1,543,357
Retained earnings $ (795,560) (937,608)
Cumulative Effect, Period of Adoption, Adjusted Balance    
New Accounting Pronouncements    
Deferred tax assets   350,149
Current portion of convertible senior notes   120,439
Long-term portion of convertible senior notes   394,657
Additional paid-in capital   1,433,140
Retained earnings   (871,441)
Accounting Standards Update 2020-06 | Cumulative Effect, Period of Adoption, Adjustment    
New Accounting Pronouncements    
Deferred tax assets   16,855
Current portion of convertible senior notes   3,581
Long-term portion of convertible senior notes   57,324
Additional paid-in capital   (110,217)
Retained earnings   $ 66,167