CONDENSED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Operating activities    
Net loss $ (6,501) $ (4,481)
Adjustments to reconcile net loss:    
Depreciation and amortization 90 43
Accretion of debt discount 213 61
Stock-based compensation expense 55 54
Change in the fair value of preferred stock warrants 718  
Changes in operating assets and liabilities:    
Accounts receivable 399 (188)
Inventories 276 162
Prepaid expenses and other assets (1,761) (47)
Accounts payable 918 127
Accrued expenses (825) (1,091)
Net cash used in operating activities (6,418) (5,360)
Investing activities    
Purchases of property and equipment (7) (206)
Purchases of short-term investments (4,642)  
Proceeds from sales or maturities of short-term investments 5,074  
Net cash provided by (used in) investing activities 425 (206)
Financing activities    
Proceeds from issuance of notes payable 8,000 458
Proceeds from the exercise of stock options 185 6
Proceeds from sale of preferred stock   24,968
Net cash provided by financing activities 8,185 25,432
Increase in cash and cash equivalents 2,192 19,866
Cash and cash equivalents at beginning of period 8,955 6,685
Cash and cash equivalents at end of period 11,147 26,551
Supplemental cash flow information    
Cash paid for interest 347 308
Issuance of preferred stock warrants $ 103 $ 4