Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Cash flows from operating activities:    
Net loss $ (53,281) $ (32,068)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization expense 457 405
Stock-based compensation expense 3,318 901
Changes in operating assets and liabilities:    
Prepaid expenses and other assets (260) (1,355)
Accounts receivable 359 (448)
Accounts payable 418 (124)
Accrued expenses and other liabilities 1,541 (46)
Net cash used in operating activities (47,448) (32,735)
Cash flows from investing activities:    
Purchases of property and equipment (407) (1,577)
Net cash used in investing activities (407) (1,577)
Cash flows from financing activities:    
Payment of deferred issuance costs associated with Series B convertible preferred stock financing (232)  
Proceeds from stock options exercised 101  
Proceeds from initial public offering, net of underwriters discounts 109,517  
Payment of deferred offering costs (3,012)  
Net cash provided by financing activities 106,374 109,968
Net increase in cash, cash equivalents and restricted cash 58,519 75,656
Cash, cash equivalents and restricted cash, at beginning of period 92,609 16,953
Cash, cash equivalents and restricted cash, at end of period $ 151,128 92,609
Supplemental disclosure of non-cash investing and financing activities:    
Series B convertible preferred stock financing costs not yet paid   232
Series A-2    
Cash flows from financing activities:    
Proceeds from issuance of convertible preferred stock, net issuance of costs   39,979
Series B    
Cash flows from financing activities:    
Proceeds from issuance of convertible preferred stock, net issuance of costs   $ 69,989