Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies (Details)

v3.22.4
Summary of Significant Accounting Policies (Details)
12 Months Ended
Dec. 31, 2022
USD ($)
segment
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Property, Plant and Equipment [Line Items]        
Number of operating segments | segment 1      
Accounts receivable, net $ 13,483,000 $ 15,414,000    
Allowance for doubtful accounts 0      
Cash, cash equivalents 94,172,000 231,900,000 $ 272,350,000 $ 306,019,000
Restricted cash 100,000 300,000    
Asset impairment charges 0 0 0  
Research and development 44,988,000 51,139,000 50,327,000  
Advertising expense 16,300,000 15,400,000 10,000,000  
Selling, general and administrative expense $ 196,400,000 $ 173,500,000 $ 97,300,000  
Minimum        
Property, Plant and Equipment [Line Items]        
Receivables, standard credit terms 30 days      
Lease term 12 months      
Minimum | Acquired intellectual property and reacquired rights        
Property, Plant and Equipment [Line Items]        
Acquired intangible assets useful life 10 years      
Maximum        
Property, Plant and Equipment [Line Items]        
Receivables, standard credit terms 45 days      
Lease term 128 months      
Maximum | Acquired intellectual property and reacquired rights        
Property, Plant and Equipment [Line Items]        
Acquired intangible assets useful life 20 years      
Specialty Pharmacy One | Revenue Benchmark | Customer Concentration Risk        
Property, Plant and Equipment [Line Items]        
Concentration risk percentage 45.00%      
Specialty Pharmacy One | Revenue Benchmark | Customer Concentration Risk | Outside United States        
Property, Plant and Equipment [Line Items]        
Concentration risk percentage 20.00%      
Specialty Pharmacy One | Accounts Receivable | Customer Concentration Risk        
Property, Plant and Equipment [Line Items]        
Concentration risk percentage 100.00%      
Specialty Pharmacy Two | Revenue Benchmark | Customer Concentration Risk        
Property, Plant and Equipment [Line Items]        
Concentration risk percentage 35.00%      
Specialty Pharmacy Two | Accounts Receivable | Customer Concentration Risk        
Property, Plant and Equipment [Line Items]        
Concentration risk percentage 100.00%