XML 23 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Operating activities:      
Net (loss) income $ (535,480) $ (7,524) $ 34,355
Adjustments to reconcile net (loss) income to net cash provided by operating activities:      
Depreciation and amortization 11,358 13,332 8,594
Reduction in carrying amount of right-of-use assets 8,189 8,210 8,105
Credit losses and sales allowances 1,509 2,732 124
Net realized (gain) loss on short-term investments 0 (94) 41
Deferred taxes (284,221) (20,830) (2,614)
Release of liabilities for unrecognized tax benefits (561) 0 (2,837)
Share-based compensation expense 44,126 11,153 10,209
Digital asset impairment losses 830,621 70,698 0
Gain on partial lease termination 0 (2,820) 0
Amortization of issuance costs and debt discount on long-term debt 7,201 1,543 0
Changes in operating assets and liabilities:      
Accounts receivable 2,618 (774) (3,672)
Prepaid expenses and other current assets (25) 2,346 6,415
Deposits and other assets (1,713) 416 761
Accounts payable and accrued expenses 3,749 9,174 (7,321)
Accrued compensation and employee benefits 2,374 (6,827) (2,658)
Accrued interest 1,222 271 0
Deferred revenue and advance payments 14,710 (20,223) 20,836
Operating lease liabilities (10,222) (11,171) (8,620)
Other long-term liabilities (1,622) 4,007 (851)
Net cash provided by operating activities 93,833 53,619 60,867
Investing activities:      
Purchases of digital assets (2,626,529) (1,125,000) 0
Proceeds from redemption of short-term investments 0 119,886 684,356
Purchases of property and equipment (2,706) (3,651) (10,182)
Purchases of short-term investments 0 (9,928) (320,487)
Net cash (used in) provided by investing activities (2,629,235) (1,018,693) 353,687
Financing activities:      
Proceeds from convertible senior notes classified as debt 1,050,000 496,473 0
Proceeds from convertible senior notes classified as equity 0 153,527 0
Proceeds from senior secured notes 500,000 0 0
Proceeds from sale of class A common stock under exercise of employee stock options 40,651 51,082 6,569
Payment of withholding tax on vesting of restricted stock units (4,695) 0 0
Purchases of treasury stock 0 (123,224) (72,719)
Net cash provided by (used in) financing activities 2,541,685 563,233 (66,150)
Effect of foreign exchange rate changes on cash, cash equivalents, and restricted cash (2,608) 4,784 (1,374)
Net increase (decrease) in cash, cash equivalents, and restricted cash 3,675 (397,057) 347,030
Cash, cash equivalents, and restricted cash, beginning of year 60,759 457,816 110,786
Cash, cash equivalents, and restricted cash, end of year 64,434 60,759 457,816
Supplemental disclosure of cash flow information:      
Cash paid during the year for interest 20,416 178 11
Cash paid during the year for income taxes, net of tax refunds 7,010 6,803 5,911
Employee Stock Purchase Plan      
Financing activities:      
Proceeds from issuance of class A common stock under employee stock purchase plan 2,854 0 0
Class A      
Financing activities:      
Proceeds from sale of class A common stock under public offerings 1,000,000 0 0
Issuance costs paid related to sale of class A common stock under public offerings (9,537) 0 0
Convertible Senior Notes      
Financing activities:      
Issuance costs paid (24,796) (14,625) 0
Senior Secured Notes      
Financing activities:      
Issuance costs paid $ (12,792) $ 0 $ 0