NINA: A silicon detector for cosmic-ray astrophysics