XML 21 R8.htm IDEA: XBRL DOCUMENT v3.20.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Cash Flows From Operating Activities      
Net loss $ (119,370) $ (105,828) $ (87,164)
Adjustments to reconcile net loss to cash used in operating activities:      
Depreciation and amortization expense 49,387 29,479 18,905
Non-cash operating lease costs 19,765 0 0
Amortization of deferred contract acquisition costs 17,324 10,821 7,060
Stock-based compensation expense 56,334 36,627 27,347
Amortization of debt discount and issuance costs 21,629 0 0
Net accretion of discounts and amortization of premiums on available-for-sale securities 1,642 (1,801) (570)
Deferred income taxes (6,145) 370 385
Provision for bad debt 3,368 2,488 1,080
Change in fair value of redeemable convertible preferred stock warrant liability 0 1,517 1,220
Other 1 304 46
Changes in operating assets and liabilities, net of effect of acquisitions:      
Accounts receivable, net (33,000) (11,200) (14,758)
Contract assets (1,475) (511) 2,158
Deferred contract acquisition costs (36,315) (20,065) (12,235)
Prepaid expenses and other current assets (11,634) (7,621) (5,942)
Other noncurrent assets (2,268) (1,575) (352)
Accounts payable 1,690 (1,328) 4,386
Accrued expenses and other current liabilities 17,075 12,334 6,824
Operating lease liabilities (20,718) 0 0
Deferred revenue 25,189 14,610 4,903
Other noncurrent liabilities 392 2,462 3,426
Net cash used in operating activities (17,129) (38,917) (43,281)
Cash Flows From Investing Activities      
Purchases of property and equipment (56,375) (43,289) (25,466)
Capitalized internal-use software (18,587) (13,990) (9,373)
Cash paid for acquisitions, net of cash acquired (13,941) 0 0
Purchases of available-for-sale securities (1,267,015) (537,382) (145,269)
Sales of available-for-sale securities 0 1,978 0
Maturities of available-for-sale securities 840,248 174,998 59,249
Other investing activities 397 44 64
Net cash used in investing activities (515,273) (417,641) (120,795)
Cash Flows From Financing Activities      
Proceeds from Issuance of Redeemable Convertible Preferred Stock 0 0 149,975
Proceeds from initial public offering, net of underwriting discounts and commissions 0 570,544 0
Gross proceeds from issuance of convertible senior notes 575,000 0 0
Purchases of capped calls related to convertible senior notes (67,333) 0 0
Cash paid for issuance costs on convertible senior notes (12,542) 0 0
Proceeds from the exercise of stock options 7,457 3,058 4,412
Proceeds from the early exercise of stock options 241 2,909 14,525
Repurchases of unvested common stock (157) (283) (65)
Payments on note payable (200) (255) (356)
Proceeds from the issuance of common stock for employee stock purchase plan 10,923 0 0
Proceeds from build-to-suit lease financing obligation drawdown   63 130
Payments of deferred offering costs 0 (5,268) 0
Net cash provided by financing activities 504,912 570,768 168,621
Net increase in cash, cash equivalents, and restricted cash (27,490) 114,210 4,545
Cash, cash equivalents, and restricted cash, beginning of period 145,636 31,426 26,881
Cash, cash equivalents, and restricted cash, end of period 118,146 145,636 31,426
Supplemental Disclosure of Cash Flow Information:      
Cash paid for interest 2,192 786 786
Cash paid for income taxes, net of refunds 702 1,042 1,302
Cash paid for operating lease liabilities 20,895 0 0
Supplemental Disclosure of Non-cash Investing and Financing Activities:      
Stock-based compensation capitalized for software development 3,423 1,975 267
Accounts payable and accrued expenses related to property and equipment additions 3,052 3,571 5,757
Vesting of early exercised stock options 4,744 3,668 1,415
Deferred offering costs, accrued but not paid 0 236 0
Indemnity holdback consideration associated with business combinations 2,187 0 0
Issuance of common stock related to an acquisition 1,821 0 0
Operating lease right-of-use assets obtained in exchange for operating lease liabilities 9,893 0 0
Derecognition of build-to-suit lease 9,886 0 0
Conversion of redeemable convertible preferred stock to common stock 0 331,521 0
Conversion of redeemable convertible preferred stock warrant liability reclassified to additional paid-in capital 0 3,135 0
Restricted Stock Units (RSUs)      
Cash Flows From Financing Activities      
Payment of tax withholding obligation (8,101) 0 0
Shares issuable pursuant to the ESPP      
Cash Flows From Financing Activities      
Payment of tax withholding obligation $ (376) $ 0 $ 0