v3.25.1
Revenue - Schedule of Revenue Gross to Net Deductions Balances (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2025
Mar. 31, 2024
Contract with Customer, Liability [Roll Forward]    
Deferred revenue, beginning balance $ 1,121,886 $ 863,521
Deferred revenue, ending balance 517,891 1,082,373
Product sales    
Contract with Customer, Liability [Roll Forward]    
Deferred revenue, beginning balance 137,833 105,688
Amounts charged against product sales 55,571 35,372
Credits/deductions (114,914) (37,978)
Deferred revenue, ending balance 78,490 103,082
Product sales | Wholesale Distributor Fees, Discounts, and Chargebacks    
Contract with Customer, Liability [Roll Forward]    
Deferred revenue, beginning balance 21,136 21,072
Amounts charged against product sales 16,572 16,076
Credits/deductions (30,131) (26,979)
Deferred revenue, ending balance 7,577 10,169
Product sales | Product Returns    
Contract with Customer, Liability [Roll Forward]    
Deferred revenue, beginning balance 116,697 84,616
Amounts charged against product sales 38,999 19,296
Credits/deductions (84,783) (10,999)
Deferred revenue, ending balance 70,913 92,913
Adjustments to amounts charged against product sales $ 1,500 $ 3,400