XML 16 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities:    
Net Income (Loss) Attributable to Parent $ (74,552) $ 5,997
Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities:    
Stock-based compensation 13,021 8,507
Depreciation and amortization 1,603 1,014
Amortization of contract acquisition costs 1,815 1,430
Amortization of debt issuance costs 917 492
Unrealized gain on foreign exchange forward (292) 0
Impairment of capitalized cloud computing costs 0 182
Change in deferred tax assets 152 54
Provision for excess and obsolete inventories 110 1,335
Provision for credit losses 677 101
Loss (gain) on sale of property and equipment 86 (45)
Change in right-of-use assets 1,976 1,681
Changes in assets and liabilities:    
Accounts receivable (5,104) (8,899)
Inventories, net (28,725) (8,261)
Other current assets and prepaid expenses (8,835) (4,571)
Other long-term assets (3,644) (3,487)
Accounts payable 20,442 575
Accrued liabilities (3,684) 11,782
Operating lease liabilities (1,930) (1,573)
Deferred revenue 1,576 (557)
Net cash used in operating activities (49,968) (1,428)
Cash flows from investing activities:    
Acquisition of property and equipment (14,107) (382)
Proceeds from disposal of property and equipment 0 71
Proceeds from maturities of marketable investments 47,000 0
Purchase of marketable investments (252,282) 0
Net cash used in investing activities (219,389) (311)
Cash flows from financing activities:    
Proceeds from exercise of stock options and employee stock purchase plan 1,687 2,056
Taxes paid related to net share settlement of equity awards (4,820) (1,963)
Purchase of capped call (31,671) (16,134)
Payment of issuance costs of capped call (353) 0
Proceeds from issuance of convertible notes 240,000 138,250
Payment of issuance costs of convertible notes (7,602) (4,717)
Extinguishment of convertible notes (45,777) 0
Payments on finance lease obligations (391) (314)
Net cash provided by financing activities 151,073 117,178
Net (decrease) increase in cash, cash equivalents and restricted cash (118,284) 115,439
Cash, cash equivalents, and restricted cash at beginning of period 164,864 47,047
Cash, cash equivalents, and restricted cash at end of period 46,580 162,486
Supplemental non-cash investing and financing activities:    
Assets acquired under finance lease 689 271
Assets acquired under operating lease 549 123
Transfer of inventories to property and equipment 12,180 0
Acquisition of property and equipment 5,843 0
Supplemental disclosure of cash flow information:    
Cash paid for interest 2,685 0
Income tax paid 1,909 763
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