Quarterly report pursuant to Section 13 or 15(d)

CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS

v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Cash flows from operating activities:    
Net income (loss) $ 62,554 $ (8,746)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Change in estimated fair value of contingent liabilities (39,377) (397)
Depreciation and amortization of intangible assets 37,902 12,645
Amortization of premium on investments, net 145 1,507
Amortization of debt discount and issuance fees 12,863 17,743
Amortization of commercial license and other economic rights 96 2,505
Loss (gain) on debt extinguishment 7,303 (659)
Share-based compensation 28,375 20,752
Deferred income taxes (8,229) (19,311)
Loss (gain) from short-term investments (8,135) 17,143
Other 658 (1,525)
Changes in operating assets and liabilities, net of acquisitions:    
Accounts receivable, net (8,838) (5,080)
Inventory (3,103) (4,914)
Accounts payable and accrued liabilities (3,635) 9,639
Income tax receivable and payable (4,167) 12,026
Deferred revenue (20,696) 5,603
Operating lease liabilities 6,120 (226)
Other assets and liabilities (8,680) (4,656)
Net cash provided by operating activities 51,156 54,049
Cash flows from investing activities:    
Purchase of short-term investments (116,898) (337,016)
Proceeds from sale of short-term investments 152,465 389,296
Proceeds from maturity of short-term investments 37,100 589,155
Cash paid for acquisition, net of cash acquired 0 (26,857)
Cash paid for equity method investment 0 (500)
Purchase of property and equipment (6,566) (2,828)
Other 135 2,600
Net cash provided by investing activities 66,236 613,850
Cash flows from financing activities:    
Repurchase of 2023 Notes (155,760) (203,210)
Payments under financing lease obligations (9,188) (5,224)
Proceeds from convertible bond hedge settlement 18,938 0
Payments to convertible bond holders for warrant purchases (18,446) 0
Net proceeds from stock option exercises and ESPP 29,484 2,459
Taxes paid related to net share settlement of equity awards (5,903) (1,429)
Share repurchase 0 (73,287)
Payments to CVR Holders (1,050) (2,325)
Net cash used in financing activities (141,925) (283,016)
Effect of exchange rate changes on cash 0 (50)
Net increase (decrease) in cash, cash equivalents and restricted cash (24,533) 384,833
Cash, cash equivalents and restricted cash at beginning of period 47,963 72,273
Cash, cash equivalents and restricted cash at end of period 23,430 457,106
Supplemental disclosure of cash flow information:    
Interest paid 1,740 2,531
Taxes paid 3,720 2,130
Restricted cash in other current assets 0 190
Supplemental schedule of non-cash activity:    
Accrued fixed asset purchases 557 381
Accrued inventory purchases 4,968 1,390
Accrued financing lease payment 0 2,500
Unrealized loss on AFS investments $ (74) $ (109)