XML 61 R8.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Cash Flows - USD ($)
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Operating activities      
Net loss $ (159,543,000) $ (115,254,000) $ (110,078,000)
Adjustments to reconcile net loss to net cash used in operating activities      
Stock-based compensation expense 25,908,000 30,173,000 19,374,000
Depreciation and amortization 8,116,000 5,871,000 5,738,000
Operating cash flows from operating leases 4,089,000 3,450,000 3,238,000
Amortization of deferred financing costs 1,477,000 1,429,000 8,881,000
Amortization of premium and accretion of discount on short-term investments, net 1,706,000 (1,765,000) (121,000)
Provision for inventory obsolescence and bad debt expense (recovery) 4,023,000 2,040,000 886,000
Payment of accrued interest on long-term debt 0 0 (2,593,000)
Gain (Loss) on Extinguishment of Debt 0 0 (7,143,000)
Loss on disposal of property and equipment and other assets 847,000 5,000 119,000
Loss on equity securities 0 0 300,000
Changes in operating assets and liabilities      
Accounts receivable 7,414,000 (9,526,000) (3,949,000)
Inventory (15,271,000) (10,520,000) (4,909,000)
Prepaid expenses and other assets (6,942,000) (5,443,000) 4,321,000
Accounts payable 1,396,000 8,687,000 (3,170,000)
Accrued liabilities (407,000) (914,000) (21,000)
Accrued compensation and other employee benefits 256,000 2,497,000 (936,000)
Contract With Customer, Liability, Increase (Decrease) In Customer Deposits 479,000 (353,000) (4,758,000)
Deferred revenue and other liabilities 2,674,000 3,336,000 2,033,000
Operating lease liabilities (4,828,000) (4,262,000) (3,160,000)
Net cash used in operating activities (128,606,000) (90,549,000) (81,662,000)
Investing activities      
Purchases of property and equipment (14,364,000) (6,348,000) (7,457,000)
Purchase of internal-use software assets (7,952,000) (2,299,000) 0
Payments to Acquire Intangible Assets (750,000) 0 0
Proceeds from sale of short-term investments 7,700,000 4,000,000 21,218,000
Proceeds from maturity of short-term investments 197,363,000 44,664,000 116,284,000
Purchases of short-term investments (49,500,000) (260,239,000) (38,804,000)
Net cash provided by (used in) investing activities 132,497,000 (220,222,000) 91,241,000
Financing activities      
Proceeds from issuance of 2025 convertible senior notes 0 0 230,000,000
Fees paid for issuance of 2025 convertible senior notes 0 0 7,403,000
Repayment of long-term debt 0 0 (80,000,000)
Fees paid upon extinguishment of debt 0 0 (4,845,000)
Proceeds from sale of common stock, net 0 0 215,765,000
Proceeds from issuance of common stock warrants 0 0 737,000
Proceeds from issuance of common stock for employee stock purchase plan 2,669,000 2,427,000 2,190,000
Tax withholdings related to net share settlements of restricted stock units (1,504,000) (2,585,000) (2,012,000)
Proceeds from exercise of stock options 1,440,000 6,452,000 18,751,000
Repayment of finance lease obligations (333,000) (236,000) (135,000)
Net cash provided by financing activities 2,272,000 6,058,000 373,048,000
Effect of exchange rate changes on cash, restricted cash and cash equivalents (83,000) (67,000) 188,000
Net increase (decrease) in cash, restricted cash and cash equivalents 6,080,000 (304,780,000) 382,815,000
Cash, restricted cash and cash equivalents      
Beginning of year 107,068,000 411,848,000 29,033,000
End of year 113,148,000 107,068,000 411,848,000
Supplemental disclosures      
Cash paid for interest 6,038,000 6,038,000 4,571,000
Cash paid for taxes 180,000 189,000 357,000
Instruments reclassified from inventory to property and equipment 665,000 525,000 854,000
Right-of-use assets obtained in exchange for finance lease liabilities 0 448,000 524,000
Right-of-use assets obtained in exchange for operating lease liabilities $ 2,126,000 $ 929,000 $ 0