XML 17 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Cash flows from operating activities:    
Net income (loss) $ 5,997 $ (26,065)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Stock-based compensation 8,507 8,057
Depreciation and amortization 1,014 1,056
Amortization of contract acquisition costs 1,430 2,017
Amortization of debt issuance costs 492 0
Impairment of capitalized cloud computing costs 182 805
Change in deferred tax asset 54 (77)
Provision for credit losses 101 1,750
Gain on sale of property and equipment (45) 0
PPP loan forgiveness (7,185) 0
Change in right-of-use assets 1,681 250
Other 0 327
Changes in assets and liabilities:    
Accounts receivable (8,899) 2,209
Inventories (6,926) 4,588
Other current assets and prepaid expenses (4,571) (1,273)
Other long-term assets (3,487) (1,701)
Accounts payable 575 (5,886)
Accrued liabilities 11,782 (5,061)
Operating lease liabilities (1,573) 0
Deferred revenue (557) (2,398)
Net cash provided by (used in) operating activities (1,428) (21,402)
Cash flows from investing activities:    
Acquisition of property, equipment, and software (382) (774)
Proceeds from disposal of property and equipment 71 0
Proceeds from maturities of marketable investments 0 19,000
Purchase of marketable investments 0 (24,411)
Net cash used in investing activities (311) (6,185)
Cash flows from financing activities:    
Proceeds from exercise of stock options and employee stock purchase plan 2,056 856
Purchase of capped call (16,134) 0
Proceeds from PPP loan 0 7,167
Proceeds from issuance of Convertible notes 138,250 0
Payment of issuance costs of Convertible notes (4,717) 0
Proceeds from equity offering 0 28,798
Cost of equity offering 0 (2,303)
Taxes paid related to net share settlement of equity awards (1,963) (3,340)
Payments on finance lease obligations (314) (513)
Net cash provided by financing activities 117,178 30,665
Net increase in cash and cash equivalents 115,439 3,078
Cash and cash equivalents at beginning of period 47,047 26,316
Cash and cash equivalents at end of period 162,486 29,394
Supplemental disclosure of non-cash items:    
Assets acquired under finance lease 271 27
Assets acquired under operating lease 123 10,623
Gain on extinguishment of PPP loan 7,185 0
Supplemental disclosure of cash flow information:    
Income tax paid $ 763 $ 0