XML 15 R6.htm IDEA: XBRL DOCUMENT v3.22.2.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities    
Net loss $ (398,871) $ (325,399)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 4,719 4,816
Non-cash lease expense 6,212 4,668
Stock-based compensation 72,855 68,949
Non-cash interest expense 8,389  
Non-cash customer consideration (27,500)  
Other 787 2,677
Changes in assets and liabilities:    
Accounts receivable 5,553 (11,375)
Unbilled accounts receivable 9,282 6,891
Inventory (20,653) (11,812)
Prepaid expenses and other current assets (15,575) (1,795)
Other assets (11,886) (2,842)
Accounts payable (2,031) 5,144
Accrued expenses 7,833 (12,844)
Other long-term liabilities 5,730  
Deferred revenue (19,952) (5,761)
Operating lease liabilities (5,764) (5,856)
Net cash used in operating activities (380,872) (284,539)
Cash flows from investing activities    
Purchases of property and equipment (7,438) (1,831)
Purchases of investments (258,654) (514,906)
Maturities of investments 170,123 637,831
Other (289)  
Net cash provided by (used in) investing activities (96,258) 121,094
Cash flows from financing activities    
Net proceeds from the sale of future royalties and revenues 415,836  
Net proceeds from term loan facility 137,797  
Net proceeds from stock option exercises and employee stock purchase plan 5,686 32,787
Net cash provided by financing activities 559,319 32,787
Net increase (decrease) in cash, cash equivalents, and restricted cash 82,189 (130,658)
Cash, cash equivalents and restricted cash at beginning of period 215,119 689,804
Effect of exchange rate changes on cash, cash equivalents and restricted cash (685) (382)
Cash, cash equivalents and restricted cash at end of period 296,623 558,764
Supplemental cash flow information    
Cash paid for interest 2,956  
Property and equipment purchases unpaid at period end 195 206
Cash paid for taxes, net $ 4,018 $ 674