XML 17 R1.htm IDEA: XBRL DOCUMENT v3.8.0.1
Document And Entity Information - USD ($)
12 Months Ended
Dec. 31, 2017
Mar. 19, 2018
Jun. 30, 2017
Document Information [Line Items]      
Entity Registrant Name Sun BioPharma, Inc.    
Entity Central Index Key 0001029125    
Trading Symbol snbp    
Current Fiscal Year End Date --12-31    
Entity Filer Category Smaller Reporting Company    
Entity Current Reporting Status Yes    
Entity Voluntary Filers No    
Entity Well-known Seasoned Issuer No    
Entity Common Stock, Shares Outstanding (in shares)   4,093,852  
Entity Public Float     $ 27,415,181
Document Type 10-K    
Document Period End Date Dec. 31, 2017    
Document Fiscal Year Focus 2017    
Document Fiscal Period Focus FY    
Amendment Flag false