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 $ (90,142) $ (98,368)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 22,947 15,185
Stock-based compensation 78,209 76,002
Non-cash charitable contribution 3,270 7,757
Asset Impairment Charges 1,509 137
Change in operating assets and liabilities:    
Accounts receivable, net (126) (221)
Inventory (13,522) (12,971)
Prepaid expenses and other assets (4,546) (1,323)
Accounts payable (9,209) 7,629
Accrued expenses (4,319) 11,724
Deferred revenue (5,796) (9,774)
Other current liabilities 90 578
Deferred rent 0 2,980
Right-of-use lease assets and current and non-current lease liabilities 6,346 0
Other liabilities 1,820 530
Net cash used in operating activities (13,469) (135)
Cash flows from investing activities    
Purchases of property and equipment (45,966) (34,018)
Net cash used in investing activities (45,966) (34,018)
Cash flows from financing activities    
Proceeds from stock option exercises 295 10,087
Proceeds from shares issued in connection with employee stock purchase plan 1,754 0
Employee tax withholding remitted in connection with exercise or release of equity awards 0 (29,059)
Proceeds from repayment of related party loans 45 31,513
Stock repurchases 0 (8,085)
Payment for Tender Offer 0 (18,031)
Net cash provided by (used in) financing activities 2,094 (13,575)
Effect of exchange rates on cash (1,190) (120)
Net decrease in cash and cash equivalents (58,531) (47,848)
Cash and cash equivalents, beginning of period 256,416 314,085
Cash and cash equivalents, end of period 197,885 266,237
Supplemental disclosures    
Cash paid for income taxes 471 314
Cash paid for interest 89 94
Non-cash investing and financing activities:    
Purchases of property and equipment included in accounts payable and accrued expenses 4,819 5,246
Related party loans issued in connection with stock option exercises $ 0 $ 13,827