XML 19 R6.htm IDEA: XBRL DOCUMENT v3.22.2.2
Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Operating activities    
Net loss $ (321,411) $ (321,676)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 3,095 7,011
Amortization of intangible assets 3,789 3,790
Stock-based compensation expense 42,736 34,501
Loss on extinguishment of debt 0 17,689
Amortization of debt issuance costs and accretion of debt discount 2,465 22,055
Finance lease amortization expense 1,846 809
Noncash operating lease expense 11,440 11,218
Change in fair value of deferred and contingent consideration liabilities (19,002) 8,300
Changes in operating assets and liabilities:    
Accounts receivable (5,440) (2,875)
Inventory 624 (18,588)
Prepaid expenses and other current assets 1,806 (2,097)
Other assets (13,023) (20,994)
Accounts payable and accrued liabilities 15,137 (4,057)
Other liabilities (21,352) (14,256)
Net cash used in operating activities (297,290) (279,170)
Investing activities    
Purchase of fixed assets (5,187) (6,147)
Purchase of marketable securities (99,706) 0
Cash used for Business Acquisition, net 0 (6,920)
Maturities of marketable securities 50,000 0
Net cash used in investing activities (54,893) (13,067)
Financing activities    
Proceeds from exercise of stock options, ESPP, and RSU vestings 17,333 16,021
Proceeds from issuance of common stock, net 33,383 269,886
Payment on extinguishment of 1.75% convertible senior notes due 2025 0 (12,578)
Payment of principal on 1.75% convertible senior notes due 2025 0 (225,000)
Proceeds from issuance of 0.75% convertible senior notes due 2028 0 575,000
Payment of debt issuance costs 0 (15,702)
Payments of finance lease principal (830) (791)
Net cash provided by financing activities 49,886 606,836
Effect of exchange rates on cash and cash equivalents 148 (799)
Net (decrease) increase in cash and cash equivalents (302,149) 313,800
Cash and cash equivalents at beginning of period 716,782 532,756
Cash and cash equivalents at end of period 414,633 846,556
Supplemental disclosures of cash flow information:    
Cash paid for interest 7,442 8,202
Cash paid for income taxes $ 1,626 $ 1,451