XML 18 R7.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities:    
Net income $ 71,049 $ 21,642
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 13,154 7,985
Provision for doubtful accounts 271 185
Non-cash interest expense 19,463 8,094
Loss on partial settlement of convertibles notes 56,382 0
Deemed repayment of convertible notes attributable to accreted debt discount (15,585) 0
Change in fair value of debt securities (2,369) 0
Stock-based compensation 30,156 19,815
Change in fair value of derivatives 0 44,348
Deferred income taxes (30,127) (19,567)
Changes in operating assets and liabilities:    
Accounts receivable (98,531) 56,166
Inventory 4,008 870
Prepaid expenses and other assets (15,194) (9,534)
Accounts payable, accrued and other liabilities 46,890 (35,389)
Warranty obligations 14,025 809
Deferred revenues 47,909 (30,771)
Net cash provided by operating activities 141,501 64,653
Cash flows from investing activities:    
Purchases of property and equipment (26,368) (7,804)
Investments in private companies (45,000) 0
Business acquisitions, net of cash acquired (55,239) 0
Net cash used in investing activities (126,607) (7,804)
Cash flows from financing activities:    
Issuance of convertible notes, net of issuance costs 1,188,439 312,420
Purchase of convertible note hedges (286,235) (89,056)
Sale of warrants 220,800 71,552
Principal payments and financing fees on debt (1,422) (1,633)
Partial repurchase of convertible notes (289,312) 0
Proceeds from exercise of equity awards and employee stock purchase plan 3,642 4,846
Repurchase of common stock (200,000) 0
Payment of withholding taxes related to net share settlement of equity awards (16,998) (43,652)
Net cash provided by financing activities 618,914 254,477
Effect of exchange rate changes on cash and cash equivalents (926) (181)
Net increase in cash, cash equivalents and restricted cash 632,882 311,145
Cash, cash equivalents and restricted cash—Beginning of period 679,379 296,109
Cash, cash equivalents and restricted cash—End of period 1,312,261 607,254
Supplemental disclosures of non-cash investing and financing activities:    
Purchases of fixed assets included in accounts payable 4,175 1,636
Contingent consideration in connection with the acquisition $ 3,596 $ 0