XML 20 R7.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 income (loss) $ (68,987) $ 49,387 $ 58,293
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 10,070 13,906 18,931
Stock-based compensation 17,734 25,995 30,505
(Gain) Loss on investments, net (87) 1,362 6,222
Goodwill impairment 44,442 0 0
Change in fair value of contingent consideration 0 (3,003) (2,928)
Deferred income taxes (21,842) 4,498 (9,386)
Provision for excess and obsolete inventory 3,657 3,877 7,872
Other 0 0 74
Changes in assets and liabilities:      
Accounts receivable, net (16,327) 75,894 (59,885)
Inventories 12,396 (147,432) 55,505
Prepaid expenses and other assets 5,696 (4,127) 4,833
Accounts payable 11,857 (16,493) 9,744
Accrued employee compensation (572) (10,316) 15,718
Other accrued liabilities (13,332) 4,869 28,194
Deferred revenue 5,425 2,978 8,112
Income taxes payable (3,862) (5,974) 9,346
Net cash provided by (used in) operating activities (13,732) (4,579) 181,150
Cash flows from investing activities:      
Purchases of short-term investments (153,577) (146) (305)
Proceeds from maturities of short-term investments 80,417 710 290
Purchases of property and equipment (5,757) (9,864) (10,296)
Purchases of long-term investments (600) (685) (6,525)
Net cash used in investing activities (79,517) (9,985) (16,836)
Cash flows from financing activities:      
Repurchases of common stock (24,377) (75,000) (23,800)
Restricted stock unit withholdings (4,807) (7,660) (5,090)
Proceeds from exercise of stock options 743 9,620 16,950
Proceeds from issuance of common stock under employee stock purchase plan 4,418 4,916 3,878
Net cash used in financing activities (24,023) (68,124) (8,062)
Net increase (decrease) in cash and cash equivalents (117,272) (82,688) 156,252
Cash and cash equivalents, at beginning of period 263,772 346,460 190,208
Cash and cash equivalents, at end of period 146,500 263,772 346,460
Supplemental Cash Flow Information:      
Cash paid for income taxes, net 9,396 20,589 8,218
Non-cash investing and financing activities:      
Unpaid property and equipment $ 203 $ 526 $ 1,273