XML 19 R8.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Cash flows from operating activities:    
Net income $ 92,858 $ 61,004
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 21,467 12,750
Provision for doubtful accounts 450 254
Non-cash interest expense 31,893 13,516
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 (3,153) 0
Stock-based compensation 77,110 34,214
Change in fair value of derivatives 0 44,348
Deferred income taxes (28,790) (14,507)
Changes in operating assets and liabilities:    
Accounts receivable (93,069) 23,533
Inventory (23,640) (5,479)
Prepaid expenses and other assets (18,762) (10,451)
Accounts payable, accrued and other liabilities 71,787 (9,200)
Warranty obligations 21,599 6,681
Deferred revenues 64,308 (24,509)
Net cash provided by operating activities 254,855 132,154
Cash flows from investing activities:    
Purchases of property and equipment (39,050) (11,707)
Purchase of intangible asset (250) 0
Investments in private companies (58,000) 0
Business acquisitions, net of cash acquired (55,239) 0
Purchases of marketable securities (545,490) 0
Maturities of marketable securities 35,000 0
Net cash used in investing activities (663,029) (11,707)
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) (2,269)
Partial repurchase of convertible notes (289,312) 0
Proceeds from exercise of equity awards and employee stock purchase plan 3,684 4,708
Repurchase of common stock (200,000) 0
Payment of withholding taxes related to net share settlement of equity awards (20,311) (52,042)
Net cash provided by financing activities 615,643 245,313
Effect of exchange rate changes on cash and cash equivalents (1,302) (77)
Net increase in cash, cash equivalents and restricted cash 206,167 365,683
Cash, cash equivalents and restricted cash—Beginning of period 679,379 296,109
Cash and cash equivalents—End of period 885,546 661,792
Supplemental disclosures of non-cash investing and financing activities:    
Purchases of fixed assets included in accounts payable 6,867 2,132
Contingent consideration in connection with the acquisition $ 3,500 $ 0