v3.24.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Operating activities:    
Net income $ 27,865 $ 6,227
Adjustments to reconcile net income to net cash provided by operating activities:    
Deferred taxes 15,998 4,100
Depreciation of fixed assets and amortization of intangible assets 37,289 38,656
Amortization of debt issuance costs 1,444 1,628
Amortization of debt discount 47 703
(Gain) loss on early extinguishment of debt (7,518) 16,926
Stock-based compensation 25,675 22,945
Changes in contingent consideration (2,297) (6,640)
Other net losses 109 11
Changes in operating assets and liabilities:    
Accounts receivable, net 776 (683)
Inventories, net 915 3,933
Prepaid expenses and other assets (1,309) (4,369)
Accounts payable 2,772 9,683
Accrued expenses and income taxes payable 1,361 (30,771)
Other liabilities (790) 278
Net cash provided by operating activities 102,337 62,627
Investing activities:    
Purchases of fixed assets (4,426) (9,969)
Purchases of available-for-sale investments (105,781) (69,509)
Sales of available-for-sale investments 79,462 159,745
Purchases of debt investments 0 (6,758)
Net cash (used in) provided by investing activities (30,745) 73,509
Financing activities:    
Proceeds from exercises of stock options 0 1,913
Proceeds from shares issued under employee stock purchase plan 1,364 1,673
Payment of employee withholding taxes on restricted stock unit vests (382) 0
Purchase of treasury stock (25,000) 0
Proceeds from 2029 convertible senior notes 287,500 0
Proceeds from Term loan A facility 0 149,550
Purchase of capped call transactions (26,709) 0
Debt extinguishment costs 0 (5,750)
Payment of debt issuance and financing costs (9,350) (1,163)
Net cash provided by (used in) financing activities 22,163 (153,465)
Net increase (decrease) in cash and cash equivalents 93,755 (17,329)
Cash and cash equivalents, beginning of period 153,298 104,139
Cash and cash equivalents, end of period 247,053 86,810
Supplemental cash flow information:    
Cash paid for interest 6,988 20,802
Net cash paid for income taxes 4,667 795
Non-cash investing and financing activities:    
Fixed assets included in accounts payable and accrued liabilities 604 2,388
3.375% Convertible senior notes due May 2024    
Financing activities:    
Repayment of 2025 convertible senior notes (8,641) 0
0.750% Convertible senior notes due August 2025    
Financing activities:    
Repayment of 2025 convertible senior notes (190,994) 0
Term Loan B Facility    
Financing activities:    
Repayment of Term loan facility 0 (296,875)
Term Loan A Facility    
Financing activities:    
Repayment of Term loan facility $ (5,625) $ (2,813)