XML 17 R6.htm IDEA: XBRL DOCUMENT v3.22.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Operating activities:    
Net loss $ (138,595) $ (63,853)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 3,002 2,549
Premium amortization and discount accretion on investment securities 1,790 2,097
Stock-based compensation 35,087 23,232
Non-cash lease expense 3,305 2,671
Amortization of debt discount and issuance cost 312 304
Inventory reserve adjustments 128 316
Other non-cash benefits 4 56
Provision for credit losses 331  
Unrealized losses on investment securities (281)  
Loss on investments 46  
Amortization of other assets 143  
Changes in operating assets and liabilities:    
Accounts receivable (46,119) (8,997)
Inventory 1,732 (3,966)
Prepaid expenses and other current assets (6,366) 2,455
Accounts payable (7,557) (3,310)
Accrued compensation (8,545) (4,501)
Operating lease liabilities (2,765) (2,486)
Other accrued liabilities 21,336 18,602
Deferred revenue 5,735 (40,045)
Cash used in operating activities (137,277) (74,876)
Investing activities:    
Purchases of investments (24,977) (43,024)
Proceeds from sale of investments 166,895  
Proceeds from maturity of investments 81,000 140,024
Purchases of property and equipment, net (15,885) (10,260)
Cash provided by investing activities 207,033 86,740
Financing activities:    
Proceeds from exercise of stock options 4,156 4,570
Cash provided by financing activities 4,156 4,570
Net increase in cash, cash equivalents and restricted cash 73,912 16,434
Cash, cash equivalents and restricted cash, beginning of period 84,614 48,855
Cash, cash equivalents and restricted cash, end of period 158,526 65,289
Supplemental disclosure of cash flow information:    
Cash paid for interest 159 152
Non-cash investing and financing activities:    
Purchases of property and equipment in accounts payable and accruals $ 2,096 $ 1,898