v3.24.1.u1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Cash Flows from Operating Activities    
Net loss $ (35,543) $ (38,082)
Adjustments to reconcile net loss to cash provided by operating activities:    
Depreciation and amortization expense 30,112 31,509
Non-cash operating lease costs 11,863 11,061
Amortization of deferred contract acquisition costs 18,107 14,109
Stock-based compensation expense 69,723 57,401
Amortization of debt issuance costs 990 1,163
Net accretion of discounts and amortization of premiums on available-for-sale securities (12,713) (8,228)
Deferred income taxes (276) (120)
Provision for bad debt 3,223 1,576
Other 106 (14)
Changes in operating assets and liabilities, net of effect of acquisitions:    
Accounts receivable, net 31,862 (32,781)
Contract assets (548) 269
Deferred contract acquisition costs (22,398) (19,391)
Prepaid expenses and other current assets (23,022) (8,934)
Other noncurrent assets 760 (811)
Accounts payable 3,073 11,634
Accrued expenses and other current liabilities 3,838 650
Operating lease liabilities (14,678) (6,908)
Deferred revenue 9,036 21,881
Other noncurrent liabilities 64 430
Net cash provided by operating activities 73,579 36,414
Cash Flows from Investing Activities    
Purchases of property and equipment (32,056) (17,541)
Capitalized internal-use software (5,916) (4,970)
Purchases of available-for-sale securities (298,995) (476,206)
Sales of available-for-sale securities 0 20,248
Maturities of available-for-sale securities 433,903 493,988
Other investing activities 14 48
Net cash provided by investing activities 96,950 15,567
Cash Flows from Financing Activities    
Proceeds from the exercise of stock options 4,422 3,305
Payment of tax withholding obligation on RSU settlement (4,401) (2,058)
Net cash provided by financing activities 21 1,247
Net increase in cash, cash equivalents, and restricted cash 170,550 53,228
Cash, cash equivalents, and restricted cash, beginning of period 91,224 215,204
Cash, cash equivalents, and restricted cash, end of period 261,774 268,432
Supplemental Disclosure of Cash Flow Information:    
Cash paid for interest 8 1
Cash paid for income taxes, net of refunds 897 1,260
Cash paid for operating lease liabilities 12,530 7,265
Supplemental Disclosure of Non-cash Investing and Financing Activities:    
Stock-based compensation capitalized for software development 2,439 1,640
Accounts payable and accrued expenses related to property and equipment additions 16,961 13,276
Vesting of early exercised stock options 31 590
Operating lease right-of-use assets obtained in exchange for operating lease liabilities $ 13,282 $ 8,071