Which serves me right for sitting next to an open window at night with the light on. The beetle zoomed in and started dashing itself repeated on my head. I think this is Orthosoma brunneum, one of the longhorn beetles whose larvae feed in decaying wood. Evidently I bear some resemblance to dead wood…