XML 74 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities:    
Net income (loss) $ 7,387 $ (23,808)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Stock-based compensation 4,765 6,075
Depreciation and amortization 707 715
Amortization of contract acquisition costs 1,003 1,392
Amortization of debt issuance costs 267 0
Impairment of capitalized cloud computing costs 182 805
Change in deferred tax asset 51 4
Allowance for credit losses 492 1,696
Gain on sale of property and equipment (82) 0
Gain on extinguishment of PPP loan (7,185) 0
Change in right-of-use assets 604 0
Other 0 198
Changes in assets and liabilities:    
Accounts receivable (4,433) 6,034
Inventories (5,958) 2,681
Other current assets and prepaid expenses (77) 316
Other long-term assets (1,720) (519)
Accounts payable (474) (1,004)
Accrued liabilities 10,220 (9,754)
Extended warranty liabilities (567) (339)
Operating lease liabilities (530) 0
Deferred revenue 166 (2,443)
Net cash provided by (used in) operating activities 4,818 (17,951)
Cash flows from investing activities:    
Acquisition of property, equipment, and software (370) (435)
Proceeds from disposal of property and equipment 71 0
Proceeds from maturities of marketable investments 0 10,900
Purchase of marketable investments 0 (16,167)
Net cash used in investing activities (299) (5,702)
Cash flows from financing activities:    
Proceeds from exercise of stock options and employee stock purchase plan 1,897 848
Purchase of capped call (16,134) 0
Proceeds from issuance of Convertible notes 138,250 7,149
Payment of issuance costs of Convertible notes (4,717) 0
Proceeds from equity offering 0 28,799
Cost of equity offering 0 (2,303)
Taxes paid related to net share settlement of equity awards (1,451) (3,117)
Payments on finance lease obligations (211) (380)
Net cash provided by financing activities 117,634 30,996
Net increase in cash and cash equivalents 122,153 7,343
Cash and cash equivalents at beginning of period 47,047 26,316
Cash and cash equivalents at end of period 169,200 33,659
Supplemental disclosure of non-cash items:    
Assets acquired under finance lease 25 27
Assets acquired under operating lease 123 1,169
Gain on extinguishment of PPP loan 7,185 0
Debt issuance costs accrued 452 0
Supplemental disclosure of cash flow information:    
Income tax paid $ 458 $ 0