XML 15 R6.htm IDEA: XBRL DOCUMENT v3.22.2
CONDENSED STATEMENT OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities    
Net (loss) income $ (96,247) $ 32,840
Adjustments to reconcile net income to net cash, cash equivalents and restricted cash used in operations    
Depreciation and amortization 21,585 14,500
Change in fair value of redeemable convertible preferred stock warrant liabilities 0 190
Change in fair value of convertible notes 0 23,254
Stock-based compensation expense 32,826 6,830
Loss on extinguishment of debt 0 1,998
Non-cash lease expense 4,017 1,822
Convertible notes issuance costs 0 6,000
Deferred income taxes (2,214) 588
Non-cash interest expense 176 230
Inventory reserve (see Note 4, Inventories) 30,581 0
Product warranty reserve (see Note 4, Inventories) 12,263 0
Changes in operating assets and liabilities:    
Accounts receivable 50,581 (36,109)
Inventories (81,240) (26,421)
Prepaid expenses and other current assets (5,990) (22,818)
Other non-current assets (1,094) (676)
Operating lease right-of-use assets (7,853) 0
Accounts payable, accrued liabilities and other current liabilities 32,428 11,473
Income taxes payable (11,546) 0
Deferred revenue 3,411 (42,602)
Operating lease liabilities (2,089) (8,911)
Interest on finance leases 94 0
Net cash, cash equivalents and restricted cash used in operating activities (20,311) (37,812)
Cash flows from investing activities    
Purchase of property and equipment (30,781) (56,545)
Expenditures for software development (3,899) (2,351)
Net cash, cash equivalents and restricted cash used in investing activities (34,680) (58,896)
Cash flows from financing activities    
Proceeds from convertible notes 0 235,480
Payments of issuance costs of convertible notes 0 (6,000)
Proceeds from exercise of common stock options 512 258
Proceeds from exercise of common stock warrant 0 77
Payments of issuance costs of public offering 0 (1,610)
Proceeds from debt 0 82,250
Tax withholding on exercise of stock options (3,468) 0
Proceeds from employee stock purchase plan activity 685 0
Debt issuance and prepayment costs (599) (2,128)
Repayment of debt 0 (87,684)
Payments for finance leases (1,391) (864)
Net cash, cash equivalents and restricted cash (used in) provided by financing activities (4,261) 219,779
Net change in cash, cash equivalents and restricted cash (59,252) 123,071
Cash, cash equivalents and restricted cash, beginning balance 423,710 129,255
Cash, cash equivalents and restricted cash, ending balance 364,458 252,326
Reconciliation of cash, cash equivalents, and restricted cash    
Cash and cash equivalents 363,124 246,326
Restricted cash, current 1,334 6,000
Total cash, cash equivalents and restricted cash 364,458 252,326
Supplemental disclosure for cash flow information    
Cash paid for interest 23 760
Supplemental disclosure for non-cash investing and financing matters    
Early exercised stock options liability 0 63
Right-of-use assets obtained in exchange for lease obligations 2,611 38,717
Prepaid rent reclassified to right-of-use assets 50 15,966
Purchase of property and equipment included in accounts payable 8,150 11,618
Initial public offering costs included in accounts payable 0 2,301
Software development costs included in accounts payable $ 704 $ 0