v3.20.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2020
Sep. 30, 2019
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net loss $ (8,387) $ (17,601)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 11,367 8,776
Amortization of discounts or premiums on marketable securities 5,344  
Amortization of debt discount and issuance costs 10,546  
Amortization of deferred contract costs 7,348 3,688
Stock-based compensation, net of amounts capitalized 49,610 10,016
Non-cash lease expense 10,004 8,403
Allowance for credit losses on accounts receivable 2,656 835
Loss on disposal of property and equipment 4 442
Changes in operating assets and liabilities:    
Accounts receivable, net (21,253) (32,224)
Deferred contract costs (15,804) (10,894)
Prepaid expenses and other current assets (6,821) (9,476)
Other assets (605) (8,480)
Accounts payable 6,406 4,213
Accrued expenses and other liabilities 6,884 (1,990)
Deferred revenue 27,964 51,096
Net cash provided by operating activities 85,263 6,804
CASH FLOWS FROM INVESTING ACTIVITIES:    
Purchases of marketable securities (1,477,063)  
Maturities of marketable securities 268,500  
Proceeds from sale of marketable securities 85,700  
Purchases of property and equipment (4,336) (9,813)
Capitalized software development costs (14,371) (7,058)
Cash paid for acquisition of businesses; net of cash acquired (2,363)  
Net cash used in investing activities (1,143,933) (16,871)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from exercise of stock options 12,354 7,306
Proceeds from initial public offering, net of underwriting discounts and commissions and other offering cost (421) 708,659
Proceeds from issuance of common stock under the employee stock purchase plan 7,680  
Employee payroll taxes paid related to net share settlement under the employee stock purchase plan (977)  
Proceeds from issuance of convertible senior notes, net of issuance costs 730,207  
Purchase of capped call related to convertible senior notes (89,625)  
Net cash provided by financing activities 659,218 715,965
Effect of exchange rate changes on cash, cash equivalents and restricted cash 393 49
NET (DECREASE) INCREASE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH (399,059) 705,947
CASH, CASH EQUIVALENTS AND RESTRICTED CASH—Beginning of period 601,189 64,980
CASH, CASH EQUIVALENTS AND RESTRICTED CASH —End of period 202,130 770,927
SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:    
Cash paid for income taxes 186 97
SUPPLEMENTAL DISCLOSURE OF NON-CASH INVESTING AND FINANCING ACTIVITIES:    
Accrued property and equipment purchases 315 1,574
Stock-based compensation included in capitalized software development costs 1,521 137
Vesting of early exercised options 883 1,490
Costs related to initial public offering included in accounts payable and accrued liabilities   2,721
Issuance of restricted shares of common stock for the acquisition of businesses 5,169  
Acquisition holdback 1,500  
RECONCILIATION OF CASH, CASH EQUIVALENTS AND RESTRICTED CASH WITHIN THE CONDENSED CONSOLIDATED BALANCE SHEETS TO THE AMOUNTS SHOWN IN THE STATEMENTS OF CASH FLOWS ABOVE:    
Cash and cash equivalents 198,523 760,945
Restricted cash – Including amounts in prepaid expense and other current assets and other assets $ 3,607 $ 9,982
Restricted Cash and Cash Equivalents, Asset, Statement of Financial Position [Extensible List] ddog:PrepaidExpenseOtherCurrentAssetsAndOtherAssets ddog:PrepaidExpenseOtherCurrentAssetsAndOtherAssets
CASH, CASH EQUIVALENTS AND RESTRICTED CASH —End of period $ 202,130 $ 770,927