XML 26 R8.htm IDEA: XBRL DOCUMENT v3.24.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Cash flows from operating activities:      
Net loss $ (116,554) $ (175,357) $ (145,215)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 22,270 18,503 14,757
Stock-based compensation expense 109,570 110,785 91,183
(Accretion) amortization of marketable securities (13,811) (895) 501
Impairment of long-lived assets 3,062 6,124 0
Other 1,496 1,088 (448)
Changes in operating assets and liabilities:      
Accounts receivable, net (14,763) (20,598) 5,863
Prepaid expenses and other assets (17,003) (18,290) (5,697)
Operating lease right-of-use assets 4,868 4,839 5,301
Accounts payable and accrued expenses 33,971 17,893 16,322
Accrued compensation and other liabilities 3,073 3,409 7,670
Operating lease liabilities (7,853) (5,841) (6,336)
Deferred revenue 21,313 20,289 17,845
Net cash provided by (used in) operating activities 29,639 (38,051) 1,746
Cash flows from investing activities:      
Purchases of marketable securities (121,756) (593,770) (241,758)
Proceeds from maturities of marketable securities 530,000 375,000 204,981
Purchases of property, equipment, and software (1,147) (1,578) (1,554)
Capitalized internal-use software costs (15,254) (12,299) (12,090)
Purchase of minority interest (1,701) 0 0
Purchases of content assets (5,344) (1,377) (1,188)
Net cash provided by (used in) investing activities 384,798 (234,024) (51,609)
Cash flows from financing activities:      
Proceeds from exercise of stock options 27,315 17,586 31,766
Proceeds from employee stock purchase plan 6,031 6,829 6,397
Proceeds from initial public offering, net of offering costs 0 0 525,284
Payments for repurchases of common stock (58,453) 0 0
Payment of tax withholding on vesting of restricted stock units (54,122) (11,886) (7,172)
Payment of deferred offering costs 0 (295) (6,119)
Net cash (used in) provided by financing activities (79,229) 12,234 550,156
Net increase (decrease) in cash, cash equivalents, and restricted cash 335,208 (259,841) 500,293
Cash, cash equivalents, and restricted cash—Beginning of period 322,878 582,719 82,426
Cash, cash equivalents, and restricted cash—End of period 658,086 322,878 582,719
Supplemental disclosure of cash flow information:      
Cash paid for income taxes 6,383 4,064 2,837
Supplemental disclosure of noncash investing and financing activities:      
Stock-based compensation capitalized as internal-use software costs 7,055 5,407 4,890
Unpaid deferred offering costs $ 0 $ 0 $ 295