XML 16 R7.htm IDEA: XBRL DOCUMENT v3.22.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities:    
Net Income (Loss) Attributable to Parent $ (62,418) $ 7,387
Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities:    
Stock-based compensation 8,776 4,765
Depreciation and amortization 929 707
Amortization of contract acquisition costs 1,219 1,003
Amortization of debt issuance costs 517 267
Impairment of capitalized cloud computing costs 0 182
Change in deferred tax asset 80 51
Provision for excess and obsolete inventories 558 699
Provision for credit losses 409 492
Loss (gain) on sale of property and equipment 63 (82)
Change in right-of-use assets 1,308 604
Changes in assets and liabilities:    
Accounts receivable, net (1,108) (4,433)
Inventories, net (18,059) (6,657)
Other current assets and prepaid expenses (3,034) (77)
Other long-term assets (1,071) (1,720)
Accounts payable 14,771 (474)
Accrued liabilities (6,878) 9,653
Operating lease liabilities (1,272) (530)
Deferred revenue 702 166
Net cash (used in) provided by operating activities (30,085) 4,818
Cash flows from investing activities:    
Acquisition of property and equipment (8,238) (370)
Proceeds from disposal of property and equipment 0 71
Purchase of marketable investments (203,309) 0
Net cash used in investing activities (211,547) (299)
Cash flows from financing activities:    
Proceeds from exercise of stock options and employee stock purchase plan 1,439 1,897
Purchase of capped call (31,671) (16,134)
Proceeds from issuance of convertible notes 240,000 138,250
Payment of issuance costs of convertible notes (6,956) (4,717)
Extinguishment of convertible notes (45,777) 0
Taxes paid related to net share settlement of equity awards (4,234) (1,451)
Payments on finance lease obligations (283) (211)
Net cash provided by financing activities 152,518 117,634
Net (decrease) increase in cash, cash equivalents and restricted cash (89,114) 122,153
Cash, cash equivalents, and restricted cash at beginning of period 164,864 47,047
Cash, cash equivalents, and restricted cash at end of period 75,750 169,200
Supplemental non-cash investing and financing activities:    
Assets acquired under finance lease 437 25
Assets acquired under operating lease 549 123
Debt issuance costs accrued 646 0
Capped call costs accrued 353 0
Transfer of inventory to property and equipment 12,180 0
Supplemental disclosure of cash flow information:    
Cash paid for interest 1,903 28
Income tax paid 1,230 458
PPP Loan    
Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities:    
Gain on extinguishment of PPP loan 0 (7,185)
Convertible notes    
Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities:    
Gain on extinguishment of PPP loan $ 34,423 $ 0