XML 40 R88.htm IDEA: XBRL DOCUMENT v3.20.1
Related party transactions (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Nov. 08, 2018
Nov. 05, 2018
Oct. 26, 2017
Jul. 26, 2017
Feb. 17, 2017
May 31, 2019
Jun. 30, 2017
Feb. 28, 2017
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Stock transaction disclosures                      
Net proceeds from issuance of stock                 $ 11 $ 47,292 $ 64,560
Common Stock                      
Stock transaction disclosures                      
Issuance of common stock, net of issuance costs (in shares)                   20,651,524 12,019,639
Underwritten Public Offering | Common Stock                      
Stock transaction disclosures                      
Issuance of common stock, net of issuance costs (in shares) 19,999,999           4,800,000 5,750,000      
Public offering price (in dollars per share) $ 2.30           $ 6.25 $ 5.00      
Proceeds from issuance of common stock             $ 30,000        
Payments of stock issuance costs             $ 200        
Term of option to purchase share             30 days        
Shares offered to underwriters under option granted (in shares)             720,000        
Net proceeds from issuance of stock $ 43,400     $ 34,300       $ 26,700      
Over-allotment option | Common Stock                      
Stock transaction disclosures                      
Issuance of common stock, net of issuance costs (in shares) 2,608,695       750,000            
Senior Secured Credit Facility | Conversion Of Convertible Notes                      
Stock transaction disclosures                      
Number of shares issued upon conversion of debt     929,967                
Amount of debt converted into stock     $ 6,600                
Conversion price     $ 7.08                
Conversion price, expressed as a percentage of stock price     95.00%                
Number of trading days used to determine conversion stock price     3 days                
Debt issued to entities affiliated with Deerfield | Second Amendment Facility Due in May 2019                      
Stock transaction disclosures                      
Payment of facility   $ 7,500       $ 7,500          
Debt issued to entities affiliated with Deerfield | Second Amendment Facility Due in May 2019 | Common Stock                      
Stock transaction disclosures                      
Number of trading days used to determine conversion stock price   10 days                  
Debt issued to entities affiliated with Deerfield | Second Amendment Facility Due in May 2020                      
Stock transaction disclosures                      
Principal repayment to be paid   $ 15,000                  
Debt issued to entities affiliated with Deerfield | Second Amendment Facility Due in May 2020 | Common Stock                      
Stock transaction disclosures                      
Conversion price   $ 10.00                  
Conversion price, expressed as a percentage of stock price   95.00%                  
Number of trading days used to determine conversion stock price   3 days                  
Investor | Debt issued to entities affiliated with Deerfield | Senior Secured Credit Facility                      
Related party transactions                      
Face amount of debt at time of related party stock purchase               $ 60,000