XML 26 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statement of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Operating activities:      
Net loss $ (1,542,590) $ (463,157) $ (696,885)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities:      
Depreciation and amortization 201,480 127,519 70,908
Provision for severance benefits 128,214 71,328 43,159
Equity-based compensation 249,345 31,331 20,823
Paid-in-kind interest and accretion of discount on convertible notes 20,148 91,035 75,946
Revaluation of derivative instrument 0 (149,830) 36,782
Inventory and fixed asset losses due to fulfillment center fire 284,825 0 0
Non-cash operating lease expense 258,965 154,739 84,559
Non-cash others 57,978 55,176 (4,437)
Change in operating assets and liabilities:      
Accounts receivable, net (120,206) (4,312) (39,976)
Inventories (527,959) (504,294) (279,015)
Other assets (178,383) (172,576) (40,361)
Accounts payable 728,488 1,065,850 416,507
Accrued expenses 206,597 50,835 18,202
Deferred revenue 14,024 31,887 7,753
Other liabilities (191,504) (83,977) (25,808)
Net cash (used in) provided by operating activities (410,578) 301,554 (311,843)
Investing activities:      
Purchases of property and equipment (673,663) (484,630) (217,823)
Proceeds from sale of property and equipment 1,864 507 3,543
Other investing activities (3,726) (36,531) (3,944)
Net cash used in investing activities (675,525) (520,654) (218,224)
Financing activities:      
Repurchase of common units and preferred units 0 (97,043) (114,610)
Proceeds from issuance of Class A common stock upon initial public offering, net of underwriting discounts 3,431,277 0 0
Deferred offering costs paid (11,618) 0 0
Proceeds from issuance of common stock/units, equity-based compensation plan 62,281 28,613 1,516,378
Proceeds from short-term borrowings 24,722 144,740 103,628
Proceeds from long-term debt, net of issuance costs 408,932 142,170 28,771
Repayment of short-term borrowings (166,023) (2,983) (346,349)
Repayment of long-term debt (169,575) (35,141) (1,882)
Other financing activities (3,146) (1,854) (1,832)
Net cash provided by financing activities 3,576,850 178,502 1,184,104
Effect of exchange rate changes on cash and cash equivalents, and restricted cash (81,702) 70,365 (22,412)
Net increase in cash and cash equivalents, and restricted cash 2,409,045 29,767 631,625
Cash and cash equivalents, and restricted cash, as of beginning of period 1,401,302 1,371,535 739,910
Cash and cash equivalents, and restricted cash, as of end of period 3,810,347 1,401,302 1,371,535
Supplemental disclosure of cash-flow information:      
Cash paid for income taxes, net of refunds 2,588 857 2,540
Cash paid for interest 21,465 23,658 19,064
Non-cash investing and financing activities:      
Increase in property and equipment-related accounts payable 45,205 48,236 28,785
Conversion of common units into Class A and Class B common stock 87,064 0 0
Conversion of redeemable convertible preferred units into Class A and Class B common stock 3,465,611 0 0
Conversion of convertible notes into Class A common stock $ 609,999 $ 0 $ 0