XML 18 R6.htm IDEA: XBRL DOCUMENT v3.22.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities    
Net loss $ (152,893) $ (128,436)
Adjustments to reconcile net loss to net cash used in operating activities    
Loss from Continuation Advances   52,000
Depreciation 4,591 3,198
Amortization of intangible asets 456  
Amortization of right-of-use assets 3,412 1,591
Amortization of debt discount and financing costs 319 226
Stock-based compensation 41,722 25,970
Amortization from investment premium 1,143 1,782
Change in the estimated fair value of contingent consideration (6,501)  
Loss on disposition of equipment 77  
Changes in assets and liabilities    
Accounts receivable (2,817) (3,099)
Inventory (13,166) (5,030)
Prepaid expenses and other assets (340) (307)
Accounts payable 1,331 1,403
Accrued expenses (11,357) 5,560
Deferred revenue (2,115) 9,402
Operating lease liabilities (3,833) (2,144)
Other liabilities 379 (932)
Net cash used in operating activities (139,592) (38,816)
Cash flows from investing activities    
Purchase of property and equipment (7,657) (1,970)
Purchase of investments (241,086) (635,400)
Sales of investments   34,557
Maturities of investments 230,515 150,175
Net cash used in investing activities (18,228) (452,638)
Cash flows from financing activities    
Continuation Advances   (52,000)
Proceeds from issuance of Convertible Senior Notes, net of issuance costs   895,536
Proceeds from issuance of common stock from equity plans 6,440 25,311
Notes payable principal payoff (770)  
Other   (246)
Net cash provided by financing activities 5,670 868,601
Net increase in cash and cash equivalents and restricted cash (152,150) 377,147
Cash and cash equivalents and restricted cash at beginning of period 465,817 85,947
Cash and cash equivalents and restricted cash at end of period 313,667 463,094
Cash and cash equivalents at end of period 310,445 459,794
Restricted cash at end of period $ 3,222 $ 3,300