v3.25.2
Revenue - Schedule of Revenue Gross to Net Deductions Balances (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Contract with Customer, Liability [Roll Forward]    
Deferred revenue, beginning balance $ 1,121,886 $ 863,520
Deferred revenue, ending balance 513,026 1,199,821
Product sales    
Contract with Customer, Liability [Roll Forward]    
Deferred revenue, beginning balance 137,833 105,688
Amounts charged against product sales 51,541 36,738
Credits/deductions (175,467) (86,952)
Deferred revenue, ending balance 13,907 55,474
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 14,393 15,436
Credits/deductions (34,921) (35,621)
Deferred revenue, ending balance 608 887
Product sales | Product Returns    
Contract with Customer, Liability [Roll Forward]    
Deferred revenue, beginning balance 116,697 84,616
Amounts charged against product sales 37,148 21,302
Credits/deductions (140,546) (51,331)
Deferred revenue, ending balance 13,299 54,587
Adjustments to amounts charged against product sales $ (2,600) $ 4,000