v3.22.4
DEBT - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Dec. 31, 2025
USD ($)
Jun. 30, 2022
USD ($)
Apr. 01, 2022
USD ($)
shares
Jan. 01, 2022
USD ($)
Jul. 10, 2020
USD ($)
May 02, 2017
$ / shares
Mar. 13, 2017
USD ($)
Jan. 06, 2022
Jul. 31, 2020
USD ($)
$ / shares
Dec. 31, 2022
USD ($)
trading_day
$ / shares
Dec. 31, 2022
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Dec. 07, 2026
USD ($)
Jan. 07, 2022
USD ($)
Dec. 06, 2021
$ / shares
shares
Dec. 01, 2021
USD ($)
May 31, 2017
USD ($)
DEBT AND FINANCING OBLIGATIONS                                    
Proceeds from debt                     $ 0 $ 363,750 $ 0          
Settlement period - convertible debt conversion request                     40 days              
Initial conversion price of notes into common stock (in dollars per share) | $ / shares                   $ 71.78 $ 71.78              
Closing sale price (in dollars per share) | $ / shares                   $ 38.61 $ 38.61              
Loss on early extinguishment of debt                     $ 0 0 8,071          
Amortization of debt discount (premium)                     $ 2,807 23,152 $ 18,254          
Cumulative Effect, Period of Adoption, Adjusted Balance                                    
DEBT AND FINANCING OBLIGATIONS                                    
Long-term debt outstanding                       64,900            
Common Stock                                    
DEBT AND FINANCING OBLIGATIONS                                    
Decrease in additional paid in capital     $ 3,000                              
Issuance of common stock upon conversion (in shares) | shares     101,521               102,000              
Term loan B facility due December 2026                                    
DEBT AND FINANCING OBLIGATIONS                                    
Leverage ratio                   1.75 1.75              
Leverage ratio maximum amount                   $ 150,000 $ 150,000              
Weighted average interest rate, at point in time                   10.78% 10.78%              
Term loan B facility due December 2026 | Adjusted Term SOFR Rate                                    
DEBT AND FINANCING OBLIGATIONS                                    
Basis spread two on variable rate                     7.00%              
Basis spread one on variable rate                     1.00%              
Term loan B facility due December 2026 | Adjusted Term SOFR Rate | Minimum                                    
DEBT AND FINANCING OBLIGATIONS                                    
Variable rate                     0.75%              
Term loan B facility due December 2026 | Alternative Base Rate                                    
DEBT AND FINANCING OBLIGATIONS                                    
Basis spread on variable rate                     6.00%              
Term loan B facility due December 2026 | Alternative Base Rate | Minimum                                    
DEBT AND FINANCING OBLIGATIONS                                    
Variable rate                     1.75%              
Term loan B facility due December 2026 | NYFRB Rate | Minimum                                    
DEBT AND FINANCING OBLIGATIONS                                    
Basis spread on variable rate                     0.50%              
0.750% Convertible Senior Notes Due 2025                                    
DEBT AND FINANCING OBLIGATIONS                                    
Stated interest rate (as a percent)                   0.75% 0.75%              
Threshold trading days | trading_day                   5                
Threshold consecutive trading days | trading_day                   5                
Percentage of last sale price of common stock                   98.00%                
Initial conversion price of notes into common stock (in dollars per share) | $ / shares                 $ 71.78                  
Convertible debt, premium on common stock                 32.50%                  
Closing sale price (in dollars per share) | $ / shares                 $ 54.17                  
Debt instrument, percentage of principal amount for computation of redemption price                   100.00%                
0.750% Convertible Senior Notes Due 2025 | Debt Conversion Terms Business Day Immediately Preceding February 3, 2020                                    
DEBT AND FINANCING OBLIGATIONS                                    
Threshold trading days | trading_day                   20                
Threshold consecutive trading days | trading_day                   30                
Threshold percentage stock price trigger                   130.00%                
0.750% Convertible Senior Notes Due 2025 | Debt Redemption Terms on or after August 1, 2023                                    
DEBT AND FINANCING OBLIGATIONS                                    
Threshold trading days | trading_day                   20                
Threshold consecutive trading days | trading_day                   30                
Threshold percentage stock price trigger                   130.00%                
Debt instrument, percentage of principal amount for computation of redemption price                   100.00%                
Convertible Senior Notes Due 2024                                    
DEBT AND FINANCING OBLIGATIONS                                    
Debt instrument, percentage of principal amount for computation of redemption price               100.00%                    
Convertible Senior Notes Due 2024 | Flexion                                    
DEBT AND FINANCING OBLIGATIONS                                    
Initial conversion rate of common stock per $1,000 of principal amount of notes           0.0373413                        
Initial conversion price of notes into common stock (in dollars per share) | $ / shares           $ 26.78                   $ 317.40    
CVRs issued per principal amount | shares                               37.3413    
3.375% Convertible Senior Notes Due 2024                                    
DEBT AND FINANCING OBLIGATIONS                                    
Stated interest rate (as a percent)                   3.375% 3.375%              
Term Loan | Term loan B facility due December 2026                                    
DEBT AND FINANCING OBLIGATIONS                                    
Discount rate                                 3.00%  
Debt instrument, face amount                                 $ 375,000  
Proceeds from debt                       363,800            
Discount                   $ 8,252 $ 8,252 11,060         $ 11,200  
Quarterly payment   $ 9,400                 $ 28,100              
Prepayment penalty, year 1                   2.00% 2.00%              
Prepayment penalty, year 2                   2.00% 2.00%              
Prepayment penalty, percent, year 3 and thereafter                   1.00% 1.00%              
Repayments of debt                     $ 51,000              
Debt instrument, decrease                     50,000              
Reduction in prepayment penalty                     1,000              
Convertible senior notes, gross                   $ 296,875 296,875 375,000            
Long-term debt outstanding                   284,704 284,704 359,497            
Term Loan | Term loan B facility due December 2026 | Forecast                                    
DEBT AND FINANCING OBLIGATIONS                                    
Quarterly payment $ 14,100                                  
Balloon payment                           $ 137,500        
Unsecured Debt                                    
DEBT AND FINANCING OBLIGATIONS                                    
Long-term debt outstanding                   689,471 689,471 1,049,230            
Unsecured Debt | 0.750% Convertible Senior Notes Due 2025                                    
DEBT AND FINANCING OBLIGATIONS                                    
Debt instrument, face amount                 $ 402,500                  
Discount                   $ 0 $ 0 64,718            
Stated interest rate (as a percent)                 0.75% 0.75% 0.75%              
Debt issued in private placement                 $ 390,000   $ 402,500              
Convertible senior notes, gross                   $ 402,500 402,500 402,500            
Long-term debt outstanding                   396,126 396,126 330,627            
Unsecured Debt | 2.375% Convertible Senior Notes Due 2022                                    
DEBT AND FINANCING OBLIGATIONS                                    
Discount                   $ 0 $ 0 1,920            
Repayments of debt     $ 156,900   $ 211,100                          
Stated interest rate (as a percent)             2.375%   2.375% 2.375% 2.375%              
Debt issued in private placement             $ 345,000                      
Debt instrument, repurchased face amount         185,000       $ 185,000                  
Convertible senior notes, gross                   $ 0 $ 0 160,000            
Long-term debt outstanding                   $ 0 $ 0 157,857            
Loss on early extinguishment of debt         $ 8,100                          
Extinguishment of debt, amount     160,000                              
Amortization of debt discount (premium)     $ (4,800)                              
Unsecured Debt | Convertible Senior Notes Due 2024                                    
DEBT AND FINANCING OBLIGATIONS                                    
Stated interest rate (as a percent)                   3.375% 3.375%              
Aggregate principal retired                             $ 192,600      
Unsecured Debt | Convertible Senior Notes Due 2024 | Flexion                                    
DEBT AND FINANCING OBLIGATIONS                                    
Debt instrument, face amount                                   $ 201,300
Stated interest rate (as a percent)                                   3.375%
Unsecured Debt | 3.375% Convertible Senior Notes Due 2024                                    
DEBT AND FINANCING OBLIGATIONS                                    
Long-term debt outstanding                   $ 8,641 $ 8,641 $ 201,249            
Convertible Debt | 0.750% Convertible Senior Notes Due 2025                                    
DEBT AND FINANCING OBLIGATIONS                                    
Discount                   87,800 87,800              
Total transaction costs                     $ 12,500              
Amortization period of equity component of convertible debt                     5 years              
Convertible debt, carrying amount of liability component                   $ 314,700 $ 314,700              
Assumed borrowing rate                     5.78%              
Convertible Debt | 0.750% Convertible Senior Notes Due 2025 | Cumulative Effect, Period of Adoption, Adjusted Balance                                    
DEBT AND FINANCING OBLIGATIONS                                    
Discount       $ 64,700                            
Decrease in additional paid in capital       $ 1,700