v3.20.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income (loss) $ 6,479 $ (9,491)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 3,688 2,111
Amortization of discounts or premiums on marketable securities 244  
Amortization of deferred contract costs 2,185 1,028
Stock-based compensation, net of amounts capitalized 12,060 2,445
Non-cash lease expense 3,226 117
Provision for accounts receivable allowance 1,073 74
Loss on disposal of property and equipment 2 4
Changes in operating assets and liabilities:    
Accounts receivable, net (7,116) (7,585)
Deferred contract costs (4,619) (3,390)
Prepaid expenses and other current assets (1,404) (8,492)
Other assets 919 (8,219)
Accounts payable (1,391) 14,524
Accrued expenses and other liabilities 2,025 1,408
Deferred revenue 6,884 18,884
Net cash provided by operating activities 24,255 3,418
CASH FLOWS FROM INVESTING ACTIVITIES:    
Purchases of marketable securities (427,482)  
Maturities of marketable securities 2,620  
Purchases of property and equipment (1,526) (2,197)
Capitalized software development costs (3,417) (2,096)
Net cash used in investing activities (429,805) (4,293)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from exercise of stock options 2,813 1,776
Initial public offering costs (153)  
Net cash provided by financing activities 2,660 1,776
Effect of exchange rate changes on cash, cash equivalents and restricted cash (141) (87)
NET (DECREASE) INCREASE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH (403,031) 814
CASH, CASH EQUIVALENTS AND RESTRICTED CASH—Beginning of period 601,189 64,980
CASH, CASH EQUIVALENTS AND RESTRICTED CASH —End of period 198,158 65,794
SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:    
Cash paid for income taxes 34 3
SUPPLEMENTAL DISCLOSURE OF NON-CASH INVESTING AND FINANCING ACTIVITIES:    
Accrued property and equipment purchases 610 577
Stock-based compensation included in capitalized software development costs 103 52
Vesting of early exercised options 294 214
Costs related to initial public offering included in accounts payable and accrued liabilities 268  
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 194,350 54,554
Restricted cash – Including amounts in prepaid expense and other current assets and other assets $ 3,808 $ 11,240
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 $ 198,158 $ 65,794