XML 24 R8.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statement of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Operating activities      
Net loss $ (92,042) $ (1,542,590) $ (463,157)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 230,965 201,480 127,519
Provision for severance benefits 161,224 128,214 71,328
Equity-based compensation 262,266 249,345 31,331
Paid-in-kind interest and accretion of discount on convertible notes 0 20,148 91,035
Revaluation of derivative instrument 0 0 (149,830)
Inventory and fixed asset losses due to fulfillment center fire 0 284,825 0
Non-cash operating lease expense 309,670 258,965 154,739
Non-cash others 111,768 57,978 55,176
Change in operating assets and liabilities:      
Accounts receivable, net (33,827) (120,206) (4,312)
Inventories (367,034) (527,959) (504,294)
Other assets (289,375) (178,383) (172,576)
Accounts payable 444,402 728,488 1,065,850
Accrued expenses 7,201 206,597 50,835
Other liabilities (179,779) (177,480) (52,090)
Net cash provided by (used in) operating activities 565,439 (410,578) 301,554
Investing activities      
Purchases of property and equipment (824,262) (673,663) (484,630)
Proceeds from sale of property and equipment 13,182 1,864 507
Other investing activities (37,174) (3,726) (36,531)
Net cash used in investing activities (848,254) (675,525) (520,654)
Financing activities      
Proceeds from issuance of Class A common stock upon initial public offering, net of underwriting discounts 0 3,431,277 0
Deferred offering costs paid 0 (11,618) 0
Repurchase of common units and preferred units 0 0 (97,043)
Proceeds from issuance of common stock/units, equity-based compensation plan 17,774 62,281 28,613
Proceeds from short-term borrowings 177,249 24,722 144,740
Proceeds from long-term debt, net of issuance costs 523,529 408,932 142,170
Repayment of short-term borrowings (21,053) (166,023) (2,983)
Repayment of long-term debt (446,376) (169,575) (35,141)
Net short-term borrowings and other financing activities (3,771) (3,146) (1,854)
Net cash provided by financing activities 247,352 3,576,850 178,502
Effect of exchange rate changes on cash and cash equivalents, and restricted cash (87,610) (81,702) 70,365
Net (decrease) increase in cash and cash equivalents, and restricted cash (123,073) 2,409,045 29,767
Cash and cash equivalents, and restricted cash, as of beginning of period 3,810,347 1,401,302 1,371,535
Cash and cash equivalents, and restricted cash, as of end of period $ 3,687,274 $ 3,810,347 $ 1,401,302