XML 22 R7.htm IDEA: XBRL DOCUMENT v3.20.4
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Cash flows from operating activities:      
Net income (loss) $ 17,816 $ (17,819) $ (27,617)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 11,303 10,028 7,880
Stock-based compensation 12,310 16,529 17,038
Provision for doubtful accounts and sales returns (78) (190) 212
Other non-cash items 1,144 (153) (68)
Changes in operating assets and liabilities:      
Accounts receivable 2,346 599 (6,119)
Inventory 543 (5,648) (1,529)
Prepaid expenses and other assets 1,141 (452) (2,434)
Accounts payable (2,683) (621) (603)
Accrued and other liabilities 3,909 (5,897) 3,116
Deferred revenue 7,535 3,198 7,331
Other 0 0 99
Net cash provided by (used in) operating activities 55,286 (426) (2,694)
Cash flows from investing activities:      
Proceeds from sales of marketable securities 9,051 32,200 32,720
Proceeds from maturities of marketable securities 57,707 43,525 51,024
Purchases of marketable securities (57,992) (71,636) (86,823)
Purchase of investment 0 0 (1,000)
Purchases of property and equipment (3,564) (4,340) (2,797)
Net cash provided by (used in) investing activities 5,202 (251) (6,876)
Cash flows from financing activities:      
Proceeds from issuance of common stock under employee equity incentive plans 9,591 5,799 3,701
Repurchases of common stock (32,540) 0 0
Other 0 (1) (77)
Net cash provided by (used in) financing activities (22,949) 5,798 3,624
Net increase (decrease) in cash and cash equivalents 37,539 5,121 (5,946)
Cash and cash equivalents - beginning of year 45,742 40,621 46,567
Cash and cash equivalents - end of year 83,281 45,742 40,621
Supplemental Disclosures:      
Cash paid for income taxes, net of refunds 1,032 934 517
Cash paid for interest 4 262 100
Non-cash investing and financing activities:      
Inventory transfers to property and equipment 1,112 1,193 1,176
Purchases of property and equipment included in accounts payable $ 58 $ 10 $ 58