Quarterly report pursuant to Section 13 or 15(d)

CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited)

v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities:    
Net income (loss) $ 48,831 $ (2,045)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Change in estimated fair value of contingent liabilities (33,502) (371)
Depreciation and amortization of intangible assets 25,179 7,869
Amortization of premium (discount) on investments, net 109 1,198
Amortization of debt discount and issuance fees 9,073 12,442
Amortization of commercial license and other economic rights 206 2,733
Loss (gain) on debt extinguishment 7,175 (659)
Share-based compensation 18,621 13,012
Deferred income taxes (9,766) (8,890)
Loss (gain) from short-term investments (6,197) 7,281
Other 595 (1,499)
Changes in operating assets and liabilities:    
Accounts receivable, net (2,659) (11,466)
Inventory (2,326) 6,977
Accounts payable and accrued liabilities (4,340) 2,909
Income tax receivable and payable (2,477) 8,673
Deferred revenue (14,605) 7,268
Other assets and liabilities (2,786) (4,128)
Net cash provided by operating activities 31,131 41,304
Cash flows from investing activities:    
Purchase of short-term investments (96,136) (336,726)
Proceeds from sale of short-term investments 150,648 179,431
Proceeds from maturity of short-term investments 34,600 452,405
Cash paid for acquisition, net of cash acquired 0 (15,140)
Purchase of property and equipment (4,794) (791)
Other 135 2,600
Net cash provided by investing activities 84,453 281,779
Cash flows from financing activities:    
Repurchase of 2023 Notes (153,381) (203,210)
Payments under financing lease obligations (9,188) (1,134)
Proceeds from convertible bond hedge settlement 16,855 0
Payments to convertible bond holders for warrant purchases (16,459) 0
Net proceeds from stock option exercises and ESPP 27,584 1,550
Taxes paid related to net share settlement of equity awards (5,901) (1,429)
Share repurchase 0 (73,287)
Payments to CVR Holders (1,050) (1,800)
Net cash used in financing activities (141,540) (279,310)
Effect of exchange rate changes on cash 0 (160)
Net increase (decrease) in cash, cash equivalents and restricted cash (25,956) 43,613
Cash, cash equivalents and restricted cash at beginning of period 47,963 72,273
Cash, cash equivalents and restricted cash at end of period 22,007 115,886
Supplemental disclosure of cash flow information:    
Interest paid 1,737 2,531
Taxes paid 3,552 0
Restricted cash in other current assets 144 730
Supplemental schedule of non-cash activity:    
Accrued fixed asset purchases 359 292
Accrued inventory purchases 12,695 3,553
Unrealized loss on AFS investments $ (60) $ (38)