v3.22.4
INCOME TAXES - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2028
Dec. 31, 2027
Dec. 31, 2025
Dec. 31, 2024
Dec. 31, 2023
Income Tax Provision [Line Items]                
Reduction of valuation allowance for deferred tax assets $ 3,900 $ 16,500 $ (126,600)          
Minimum cumulative percentage of change in ownership as condition to offset taxable income (as a percent) 50.00%              
Decrease in unrecognized tax benefits $ 2,700              
Additions for current year positions 827 4,300            
Additions for prior year positions 200              
Unrecognized tax benefits 6,322 $ 9,021 $ 6,076          
Foreign Net Deferred Tax Asset                
Income Tax Provision [Line Items]                
Reduction of valuation allowance for deferred tax assets 500              
Flexion                
Income Tax Provision [Line Items]                
Reduction of valuation allowance for deferred tax assets 2,500              
Additions for current year positions 3,700              
Capital Loss Carryforward                
Income Tax Provision [Line Items]                
Reduction of valuation allowance for deferred tax assets 900              
Federal                
Income Tax Provision [Line Items]                
Net operating losses 571,800              
Net operating loss, subject to limitation 516,200              
Federal | Forecast                
Income Tax Provision [Line Items]                
Expected additional NOLs, year one               $ 32,600
Expected additional NOLs, year two             $ 32,500  
Expected additional NOLs, year three           $ 32,400    
Expected additional NOLs, year four           $ 28,300    
Expected additional NOLs, year five         $ 6,900      
Expected additional NOLs, year after five       $ 6,900        
Federal | Research Tax Credit Carryforward                
Income Tax Provision [Line Items]                
Tax credit carryforward, amount 16,600              
State                
Income Tax Provision [Line Items]                
Net operating losses 518,000              
State | Research Tax Credit Carryforward                
Income Tax Provision [Line Items]                
Tax credit carryforward, amount 6,500              
Non-US                
Income Tax Provision [Line Items]                
Net operating losses $ 6,500