Quarterly report pursuant to Section 13 or 15(d)

BASIS OF PRESENTATION AND OTHER INFORMATION (Impact of Adoption of Accounting Standard) (Details)

v3.22.2.2
BASIS OF PRESENTATION AND OTHER INFORMATION (Impact of Adoption of Accounting Standard) (Details) - USD ($)
$ in Thousands
Sep. 30, 2022
Jun. 30, 2022
Dec. 31, 2021
Sep. 30, 2021
Jun. 30, 2021
Dec. 31, 2020
New Accounting Pronouncements or Change in Accounting Principle [Line Items]            
Accumulated deficit $ (2,768,195)   $ (3,327,737)      
Total equity 398,556 $ 34,998 (188,454) $ (41,776) $ (579,603) $ (133,752)
Cumulative Effect, Period of Adoption, Adjustment            
New Accounting Pronouncements or Change in Accounting Principle [Line Items]            
Total equity     (35,464)      
Retained Earnings            
New Accounting Pronouncements or Change in Accounting Principle [Line Items]            
Total equity (2,768,195) (3,129,597) (3,327,737) (3,132,813) (3,179,691) (2,676,833)
Retained Earnings | Cumulative Effect, Period of Adoption, Adjustment            
New Accounting Pronouncements or Change in Accounting Principle [Line Items]            
Total equity     60,522      
Additional Paid-in Capital            
New Accounting Pronouncements or Change in Accounting Principle [Line Items]            
Total equity $ 2,852,112 $ 2,853,613 2,897,695 $ 2,903,613 $ 2,433,462 $ 2,386,790
Additional Paid-in Capital | Cumulative Effect, Period of Adoption, Adjustment            
New Accounting Pronouncements or Change in Accounting Principle [Line Items]            
Total equity     (95,986)      
Accounting Standards Update 2020-06            
New Accounting Pronouncements or Change in Accounting Principle [Line Items]            
Convertible Debt, Current     14,700      
Convertible Debt, Noncurrent     $ 20,800