XML 17 R6.htm IDEA: XBRL DOCUMENT v3.22.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities    
Net loss $ (107,747) $ (91,207)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization expense 5,790 5,510
Amortization of premiums and discounts on marketable securities 628 808
Stock-based compensation 10,574 11,356
Changes in operating assets and liabilities:    
Accounts receivable (7,999) (22,166)
Inventory 362 (6,476)
Prepaid expenses and other current assets 8,611 (974)
Other non current assets 1,622 4,404
Accounts payable (12,896) 1,668
Accrued expenses and other current liabilities (1,697) 5,365
Lease liabilities (2,264) (1,673)
Deferred revenue (2,918) 18,659
Net cash used in operating activities (106,857) (74,726)
Cash flows from investing activities    
Purchases of marketable securities (75,457) (117,546)
Proceeds from sale and maturities of marketable securities 82,440 99,800
Purchases of property, equipment and software (2,426) (2,693)
Net cash provided by (used in) investing activities 4,557 (20,439)
Cash flows from financing activities    
Proceeds from issuance of common stock, net of offering costs 0 98,200
Proceeds from stock option exercises and ESPP Purchases 300 4,804
Net cash provided by financing activities 300 103,004
Net change in cash and cash equivalents (102,000) 7,839
Cash and cash equivalents at beginning of period 123,469 181,131
Cash and cash equivalents at end of period 21,469 188,970
Supplemental Cash Flow Information [Abstract]    
Property, equipment and software included in accounts payable or accruals 295 118
Other non-cash items $ 1,077 $ 0