| Commitments and contingencies - Additional Information (Detail) (USD $) | 12 Months Ended | ||
|---|---|---|---|
| Jun. 30, 2011 | Jun. 30, 2010 | Jun. 30, 2009 | |
| Schedule of Operating Leases [Line Items] | |||
| Rent expense | $ 416,000 | $ 326,000 | $ 393,000 | 
| X | ||||||||||
| 
- Definition Schedule of Operating Leases [Line Items] 
 | 
| X | ||||||||||
| 
- Definition Rental expense for the reporting period incurred under operating leases, including minimum and any contingent rent expense, net of related sublease income. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 |