XML 48 R9.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities:      
Net loss $ (124,518) $ (116,861) $ (94,010)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 12,176 10,888 10,167
Stock-based compensation 142,862 109,779 68,585
Amortization of deferred commissions 22,264 14,147 13,106
Noncash operating lease costs 9,305 8,232 8,737
Amortization of debt discount and issuance costs 1,486 6,870 4,096
Amortization of premium and accretion of discount on marketable securities (344) 0 0
Gain from sale of property and equipment (21) 0 0
Changes in assets and liabilities:      
Trade receivables (18,800) (22,950) (19,075)
Prepaid expenses and other current assets (6,161) (506) (543)
Deferred commissions (22,033) (21,151) (19,131)
Other long-term assets 502 1,404 1,172
Trade payables (2,362) 4,474 (328)
Accrued expenses and other short-term liabilities (9,115) 5,850 16,058
Deferred revenues 5,266 5,421 (169)
Other long-term liabilities 1,364 1,581 5,493
Net cash provided by (used in) operating activities 11,871 7,178 (5,842)
Cash flows from investing activities:      
Proceeds from sales and maturities of marketable securities 41,600 34,117 51,539
Investment in marketable securities (277,871) 0 (44,124)
Proceeds from short-term and long-term deposits 15,961 80,752 74,776
Investment in short-term and long-term deposits (142,566) (50,000) (97,454)
Acquisition, net of cash acquired 0 0 (29,369)
Proceeds from sale of property and equipment 21 0 0
Purchases of property and equipment (11,396) (10,490) (10,116)
Net cash provided by (used in) investing activities (374,251) 54,379 (54,748)
Cash flows from financing activities:      
Proceeds from employee stock plans 11,940 11,121 10,295
Taxes paid related to net share settlement of equity awards (31,077) (1,043) (502)
Repurchase of common stock (56,444) 0 0
Proceeds from follow-on offering, net 0 500,034 0
Proceeds from issuance of convertible senior notes, net of issuance costs 0 0 245,308
Purchases of capped calls 0 0 (29,348)
Net cash provided by (used in) financing activities (75,581) 510,112 225,753
Increase (decrease) in cash and cash equivalents (437,961) 571,669 165,163
Cash and cash equivalents at beginning of period 805,761 234,092 68,929
Cash and cash equivalents at end of period 367,800 805,761 234,092
Supplemental disclosure of cash flow information:      
Cash paid for income taxes 7,354 8,507 1,342
Cash paid for interest 3,167 3,168 1,547
Lease liabilities arising from obtaining right-of-use assets $ 1,625 $ 22,156 $ 6,256