Annual report pursuant to Section 13 and 15(d)

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

v3.22.0.1
BASIS OF PRESENTATION AND OTHER INFORMATION (Impact of Adoption of Accounting Standard) (Details) - USD ($)
$ in Thousands
Jan. 01, 2022
Dec. 31, 2021
Dec. 31, 2020
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Accumulated deficit   $ (3,327,737) $ (2,676,833)
Accounting Standards Update 2020-06      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Accumulated deficit $ 60,500    
Adjustments to Additional Paid in Capital, Equity Component of Convertible Debt, Subsequent Adjustments 96,000    
Convertible Debt, Current 14,700    
Convertible Debt, Noncurrent $ 20,800