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 $ (22,036) $ (56,626) $ (56,029)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Stock-based compensation expense 47,948 48,476 38,030
Impairment charges 0 0 9,116
Depreciation and amortization 4,661 4,768 5,975
Provision for (release of) expected credit losses and inventory reserves 279 (190) (3,125)
Deferred income taxes 112 181 (296)
Discount accretion on investments and other (2,005) 24 (3)
Changes in assets and liabilities:      
Accounts receivable, net 690 13,517 (1,739)
Inventories 7,777 (7,887) 29,258
Prepaid expenses and other assets (1,498) 3,427 (3,463)
Accounts payable 3,723 (32,520) 22,156
Deferred revenue 6,610 (19,281) (38,919)
Accrued and other liabilities (7,959) 149 (24,158)
Net cash provided by (used in) operating activities 38,302 (45,962) (23,197)
Cash flows from investing activities:      
Purchases of property and equipment (2,847) (2,010) (2,268)
Purchases of short-term investments (149,870) (69,305) 0
Proceeds from maturities of short-term investments 102,031 39,542 20,000
Net cash provided by (used in) investing activities (50,686) (31,773) 17,732
Cash flows from financing activities:      
Proceeds related to employee benefit plans 8,493 4,260 8,231
Restricted stock unit withholdings (23,635) (18,202) (13,201)
Net cash used in financing activities (15,142) (13,942) (4,970)
Net decrease in cash, cash equivalents, and restricted cash (27,526) (91,677) (10,435)
Cash, cash equivalents, and restricted cash, at beginning of period 88,179 179,856 190,291
Cash, cash equivalents, and restricted cash, at end of period 60,653 88,179 179,856
Cash and cash equivalents 56,522 84,024 175,749
Restricted cash 4,131 4,155 4,107
Total cash, cash equivalents, and restricted cash 60,653 88,179 179,856
Supplemental cash flow information:      
Cash paid for income taxes, net 1,196 415 964
Non-cash investing activities:      
Purchases of property and equipment included in accounts payable and accrued liabilities $ 189 $ 946 $ 379