Quarterly report pursuant to Section 13 or 15(d)

Basis of Presentation and Summary of Significant Accounting Policies - Narrative (Details)

v3.22.2.2
Basis of Presentation and Summary of Significant Accounting Policies - Narrative (Details)
shares in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2022
USD ($)
position
shares
Sep. 30, 2021
USD ($)
shares
Sep. 30, 2022
USD ($)
position
reporting_unit
shares
Sep. 30, 2021
USD ($)
shares
Dec. 31, 2021
USD ($)
reporting_unit
Jun. 30, 2022
USD ($)
Mar. 31, 2022
USD ($)
Jun. 30, 2021
USD ($)
Mar. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Property, Plant and Equipment [Line Items]                    
Decrease of deferred tax liabilities $ (29,832,000)   $ (29,832,000)   $ (59,095,000)          
Decrease (increase) of stockholders' equity (816,298,000) $ (812,066,000) (816,298,000) $ (812,066,000) (821,159,000) $ (802,365,000) $ (793,192,000) $ (786,517,000) $ (745,840,000) $ (709,525,000)
Revenue recognized that was previously deferred $ 4,100,000 $ 7,700,000 $ 8,800,000 $ 22,800,000            
Number of positions in an unrealized loss position | position 8   8              
Credit losses related to available-for-sale debt securities $ 0   $ 0              
Allowance for credit losses adjustment related to COVID-19 (100,000)   (300,000)              
Inventory $ 22,326,000   $ 22,326,000   $ 27,326,000          
Number of reporting units | reporting_unit     2   1          
Potentially dilutive shares excluded from calculation due to anti-dilutive effect (in shares) | shares 6,706 5,574 6,503 4,984            
Share-based Compensation                    
Property, Plant and Equipment [Line Items]                    
Potentially dilutive shares excluded from calculation due to anti-dilutive effect (in shares) | shares     300              
Restricted Stock Awards                    
Property, Plant and Equipment [Line Items]                    
Performance period for awards     3 years              
Restricted Stock Awards | Minimum                    
Property, Plant and Equipment [Line Items]                    
Payout range (as a percent)     0.00%              
Restricted Stock Awards | Maximum                    
Property, Plant and Equipment [Line Items]                    
Payout range (as a percent)     200.00%              
Captisol                    
Property, Plant and Equipment [Line Items]                    
Inventory $ 7,400,000   $ 7,400,000   $ 24,600,000          
Adjustment                    
Property, Plant and Equipment [Line Items]                    
Decrease (increase) of stockholders' equity         15,997,000          
Adjusted Balance                    
Property, Plant and Equipment [Line Items]                    
Increase of carrying amount of Notes         341,100,000          
Unamortized discount         2,200,000          
Accounting Standards Update 2020-06                    
Property, Plant and Equipment [Line Items]                    
Potentially dilutive shares excluded from calculation due to anti-dilutive effect (in shares) | shares 600   1,100              
Accounting Standards Update 2020-06 | Adjustment                    
Property, Plant and Equipment [Line Items]                    
Increase of carrying amount of Notes         20,400,000          
Decrease of deferred tax liabilities         4,400,000          
Additional paid in capital                    
Property, Plant and Equipment [Line Items]                    
Decrease (increase) of stockholders' equity $ (348,994,000) $ (358,418,000) $ (348,994,000) $ (358,418,000) (372,969,000) (335,471,000) (325,368,000) (346,578,000) (336,621,000) (318,358,000)
Additional paid in capital | Adjustment                    
Property, Plant and Equipment [Line Items]                    
Decrease (increase) of stockholders' equity         51,130,000          
Additional paid in capital | Accounting Standards Update 2020-06 | Adjustment                    
Property, Plant and Equipment [Line Items]                    
Decrease (increase) of stockholders' equity         51,100,000          
Retained earnings                    
Property, Plant and Equipment [Line Items]                    
Decrease (increase) of stockholders' equity $ (468,347,000) $ (454,506,000) $ (468,347,000) $ (454,506,000) (449,090,000) $ (467,943,000) $ (468,838,000) $ (440,783,000) $ (410,058,000) $ (391,952,000)
Retained earnings | Adjustment                    
Property, Plant and Equipment [Line Items]                    
Decrease (increase) of stockholders' equity         (35,133,000)          
Retained earnings | Accounting Standards Update 2020-06 | Adjustment                    
Property, Plant and Equipment [Line Items]                    
Decrease (increase) of stockholders' equity         $ (35,100,000)