XML 46 R6.htm IDEA: XBRL DOCUMENT v3.23.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Operating Activities    
Net loss $ (57,581) $ (212,175)
Adjustment to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 1,372 11,384
Stock-based compensation 25,192 91,310
Gain on extinguishment of debt (15,205) 0
Accretion of unamortized debt discount and amortization of debt issuance costs 1,428 2,016
Amortization of premium (accretion of discount) for marketable securities 591 2,781
Deferred income taxes 0 (481)
Change in fair value of common stock warrant liabilities (151) (5,485)
Impairment charges 455 0
Changes in operating assets and liabilities:    
Accounts receivable, net (2,481) 2,530
Prepaid expenses and other assets (1,792) (5,076)
Operating lease right-of-use assets, net 308 1,197
Accounts payable 2,499 (17,223)
Operating lease liabilities (1,115) (1,087)
Other accruals and liabilities 5,423 (14,705)
Net cash used in operating activities (41,057) (145,014)
Investing Activities    
Purchases of property and equipment, including internal-use software (11,622) (346)
Purchases of marketable securities 0 (327,504)
Proceeds from maturities of marketable securities 98,903 325,078
Proceeds from sales of marketable securities 52,477 79,084
Net cash provided by investing activities 139,758 76,312
Financing Activities    
Principal payments on finance leases obligations (394) (1,495)
Payments for debt issuance costs 0 (1,998)
Payments for extinguishment of debt (135,855) 0
Net proceeds from exercise of stock options and issuance of common stock 67 852
Net cash used in financing activities (136,182) (2,641)
Net change in cash, cash equivalents and restricted cash (37,481) (71,343)
Cash, cash equivalents and restricted cash – beginning of year 365,436 244,252
Cash, cash equivalents and restricted cash – end of period 327,955 172,909
Cash paid during the period for:    
Interest 12,211 15,097
Noncash investing and financing activities:    
Deferred offering costs and issuance costs in accounts payable and accrued liabilities $ 0 $ (7)